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 1305 - XQueryX and namespaces
Summary: XQueryX and namespaces
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQueryX 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Jim Melton
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL: http://lists.w3.org/Archives/Member/w...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-04 17:34 UTC by Michael Kay
Modified: 2005-08-08 23:15 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2005-05-04 17:34:45 UTC
(copied from URL referenced - member only)

I'm trying to understand how XQueryX handles namespaces.

It appears to use the xsd:QName data type for things such as the names of
variables. But namespace declarations in the query prolog are modelled as
namespaceDecl elements, not as XML namespace declarations. For the QName to
be schema-valid, this means the namespace will have to be declared twice,
once in an xmlns="..." declaration, and once in a namespaceDecl element. Is
this the intent?

It would be useful if at least one of the examples used namespaces...
Comment 1 Jim Melton 2005-05-11 19:53:36 UTC
The Query Working Group has considered this comment and agrees that a more
helpful example is needed.  The editor has been given the authority to select
such an example and to include it into the XQueryX specification. 

Please let us know if you agree with this resolution of your issue, by adding a
comment to the issue record and changing the Status of the issue to Closed. Or,
if you do not agree with this resolution, please add a comment explaining why.
If you wish to appeal the WG's decision to the Director, then also change the
Status of the record to Reopened. If you wish to record your dissent, but do not
wish to appeal the decision to the Director, then change the Status of the
record to Closed. If we do not hear from you in the next two weeks, we will
assume you agree with the WG decision.
Comment 2 Jim Melton 2005-06-27 20:08:15 UTC
A new example, taken from the NS group of use cases in the XQuery Use Cases
document, has been added to demonstrate the treatment of namespaces in XQueryX
under the new schema that has been created. 

Please let us know if this response is satisfactory. If not, please respond to
this message, explaining your concerns.

Jim Melton
On behalf of the XML Query Working Group