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 29096 - [XP31] URIQualifiedName syntax: Q{}local and Q{}*
Summary: [XP31] URIQualifiedName syntax: Q{}local and Q{}*
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XPath 3.1 (show other bugs)
Version: Last Call drafts
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-28 16:42 UTC by Michael Kay
Modified: 2015-09-22 15:17 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2015-08-28 16:42:37 UTC
Many readers will guess, no doubt correctly, that Q{}local represents a name in no namespace, and that the NameTest Q{}* matches names in no namespace.

However, the spec doesn't actually say so, and we shouldn't leave readers to guess. Using a zero-length string to represent the namespace-that-dare-not-speak-its-name is a common convention, but by no means universal.
Comment 1 Josh Spiegel 2015-08-28 16:52:00 UTC
I think I fixed this as part of bug 28896.  The editor's draft says:

"If the BracedURILiteral has no content (for example, Q{}invoice) then the namespace URI of the QName is absent."
Comment 2 Josh Spiegel 2015-09-22 15:17:14 UTC
See comment 1.