[Bug 1305] New: XQueryX and namespaces

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1305

           Summary: XQueryX and namespaces
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
               URL: http://lists.w3.org/Archives/Member/w3c-xml-query-
                    wg/2005Mar/0008.html
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQueryX
        AssignedTo: jim.melton@acm.org
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


(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...

Received on Wednesday, 4 May 2005 17:34:51 UTC