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 3951 - [XQuery] editorial: Multiple declarations of the same namespace prefix
Summary: [XQuery] editorial: Multiple declarations of the same namespace prefix
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 1.0 (show other bugs)
Version: Candidate Recommendation
Hardware: All All
: P2 minor
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-11-04 08:02 UTC by Michael Dyck
Modified: 2007-02-25 23:55 UTC (History)
0 users

See Also:


Attachments

Description Michael Dyck 2006-11-04 08:02:08 UTC
4.12 Namespace Declaration

"Multiple declarations of the same namespace prefix in a Prolog result in a static error [err:XQST0033]."

    Is that talking about 'namespace declarations' only, or should it be
    taken to include other declarations that bind a namespace prefix to a
    target namespace (module import, schema import, module declaration)?
    (Mind you, strictly speaking, the module declaration isn't in the Prolog.)

    My guess would be that you meant the latter (because it seems sensible to
    extend the restriction that way), but the placement and wording suggest
    the former. I believe the Test Suite only tests for the former.

    Either way, it should probably be clarified. (Unless I missed the
    clarification somewhere else.)
Comment 1 Don Chamberlin 2007-01-11 23:55:33 UTC
Michael,
Thank you for your comment. In a meeting on 12/12/2006, the Query Working Group accepted your suggestion and agreed to clarify the rules that prevent multiple bindings of a namespace prefix within a module. The clarification will be completed before the XQuery specification becomes a W3C Recommendation.
Regards,
Don Chamberlin (for the Query Working Group)
Comment 2 Jim Melton 2007-02-25 23:55:02 UTC
Closing bug because commenter has not objected to the resolution posted and more than two weeks have passed.