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 3112 - xsi namespace prefix is said to be predeclared and bound to fixed namespace URIs in one section but not in another
Summary: xsi namespace prefix is said to be predeclared and bound to fixed namespace U...
Status: CLOSED INVALID
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 1.0 (show other bugs)
Version: Working drafts
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: 2006-04-11 21:17 UTC by Kien Lee
Modified: 2006-04-25 18:01 UTC (History)
0 users

See Also:


Attachments

Description Kien Lee 2006-04-11 21:17:23 UTC
In "section 2 Basics" of XQuery 1.0: An XML Query Language 3 November 2005 spec, xml, xs, xsi, fn, xdt and local "namespace prefixes are predeclared by XQuery and bound to fixed namespace URIs."

Yet, in "section 3.7.4 In-scope Namespaces of a Constructed Element", "the validator will be unable to interpret the namespace prefix xs because it is has no namespace binding." in the example provided.

Please clarify.

Thanks,
Kien Lee
Comment 1 Michael Rys 2006-04-11 21:24:02 UTC
It is predeclared in the XQuery static context, so the XQuery parser understands it. But when validating a constructed element, the prefix needs to be in context for the node which needs to be provided explicitly in accordance with XML rules.
Comment 2 Don Chamberlin 2006-04-21 23:43:49 UTC
Kien,
Thank you for your comment. The Query Working Group considered your comment on April 18, 2006 and agreed with Michael Rys that this comment is based on a misunderstanding. The predeclared namespace prefixes such as xs are known to the XQuery implementation but not to processes outside the XQuery context such as document validators. The working group believes that no changes are needed to the current specification. I have marked this entry as "Invalid". If you agree with this resolution, please close the Bugzilla entry. If you take no action, the entry will be closed at the end of April.
Regards,
Don Chamberlin (for the Query Working Group)