- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 13 May 2005 17:18:02 +0000
- To: public-qt-comments@w3.org
- Cc:
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