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 1956 - undeclared variable results in XPST0008
Summary: undeclared variable results in XPST0008
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.6.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Mike Rorke
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 19:51 UTC by Marc Van Cappellen
Modified: 2005-09-07 22:11 UTC (History)
1 user (show)

See Also:


Attachments

Description Marc Van Cappellen 2005-09-01 19:51:19 UTC
The tests listed below expect XPDY0002. Shouldn't XPST0008 also not be listed 
as a possible error?
XPST0008: It is a static error if an expression refers to an element name, 
attribute name, schema type name, namespace prefix, or ***variable name*** that 
is not defined in the static context, except within an ElementTest or an 
AttributeTest.

ForExpr002.xq
ForExpr009.xq
ReturnExpr014.xq
WhereExpr018.xq