W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2005

[Bug 1404] New: Namespaces in XQueryX

From: <bugzilla@wiggum.w3.org>
Date: Fri, 13 May 2005 17:18:02 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1DWdnW-0002mS-3Z@wiggum.w3.org>

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

           Summary: Namespaces in XQueryX
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQueryX
        AssignedTo: jim.melton@acm.org
        ReportedBy: holstege@mathling.com
         QAContact: public-qt-comments@w3.org


References to named things in XQuery (variables,
functions, types etc.) are defined in XQueryX as
xs:QName. This means that the namespace binding
to resolve these names has to be declared in the
XQueryX document at BOTH the XML level as at the
XQueryX level.  It would be better to keep these
separate, so that the namespace bindings that
apply to these named items come solely from the
XQueryX level.  We note that the examples are
therefore actually incorrect, because, for example,
the function 'doc' is not in no namespace, but in
the default function namespace, whose prefix has
not been declared at the XML level. Also, because
of the asymmetry in XQuery in how unprefixed
variables and functions are interpreted, XML level
namespace resolution will do the wrong thing for
variables if the XQueryX document has a default
namespace.

(On behalf of XML Schema WG)
Received on Friday, 13 May 2005 17:18:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:05 UTC