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 5356 - [XQuery] PITarget string literals should follow NCName rules
Summary: [XQuery] PITarget string literals should follow NCName rules
Status: CLOSED DUPLICATE of bug 5355
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 1.0 (show other bugs)
Version: Recommendation
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Don Chamberlin
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-11 00:27 UTC by Jim Melton
Modified: 2008-01-23 15:18 UTC (History)
0 users

See Also:


Attachments

Description Jim Melton 2008-01-11 00:27:11 UTC
Bug http://www.w3.org/Bugs/Public/show_bug.cgi?id=5269 observed that certain syntactically correct XQuery expressions could not be represented in XQueryX. An example is the expression: $e/processing-instruction("123ncname")

The PITarget is a string literal whose value does not correspond to the XML rules for processing instruction targets, which require them to be NCNames.  The XML Query WG believes that the proper solution to this report is to process an erratum to XQuery that requires such string literals to have values that conform to the rules for NCNames.
Comment 1 Jim Melton 2008-01-11 00:31:47 UTC

*** This bug has been marked as a duplicate of bug 5355 ***