This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21015 - [XPROC10] Test err:XD0026 #004
Summary: [XPROC10] Test err:XD0026 #004
Status: ASSIGNED
Alias: None
Product: XML Processing Model
Classification: Unclassified
Component: Pipeline language (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Norman Walsh
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-15 17:13 UTC by Tim Mills
Modified: 2014-03-05 15:15 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2013-02-15 17:13:05 UTC
This test expects XD0026.  Because the variable, evaluation of which would trigger XD0026, is not used, this test may also expect the empty sequence.
Comment 1 Vojtech Toman 2013-02-27 14:43:51 UTC
Section 2.5 (Environment): 

"""
Unless otherwise specified, the environment of a contained step is its inherited environment. [Definition: The inherited environment of a contained step is an environment that is the same as the environment of its container with the standard modifications. ]

The standard modifications made to an inherited environment are:

    [...]

    The *names* and *values* from *each* p:variable present at the beginning of the container are added, in document order, to the in-scope bindings. A new binding replaces an old binding with the same name. See Section 5.7.1, “p:variable” for the specification of variable evaluation.
"""
Comment 2 Tim Mills 2013-02-27 14:54:15 UTC
I' not sure how this is relevant.  Unless XProc differs from XSLT/XQuery/XPath and does not permit lazy evaluation, a test which sinks all observable output need never do anything.
Comment 3 Norman Walsh 2014-03-05 15:15:08 UTC
We concur; we'll rewrite the test so that it requires evaluation of $var.