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 2426 - Wrong error code given for Constr-pi-target-1 to -4
Summary: Wrong error code given for Constr-pi-target-1 to -4
Status: RESOLVED WORKSFORME
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: 0.7.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Andreas Behm
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-02 10:04 UTC by Michael Kay
Modified: 2005-11-05 07:17 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-11-02 10:04:21 UTC
Wrong error code given for Constr-pi-target-1 to -4.

Expected error code is given in catalog as XPST0003. Should be XQDY0064.
Comment 1 Andreas Behm 2005-11-05 07:17:27 UTC
"XML" as name for direct PI constructor is restricted through grammer:

[105]    	DirPIConstructor 	   ::=    	"<?" PITarget (S DirPIContents)? "?>"
[152]    	PITarget 	   ::=    	[http://www.w3.org/TR/REC-xml#NT-PITarget]XML

which in turn excludes XML as valid PI target.

There is no reference to XQDY0064 in section 3.7.2