- From: <bugzilla@jessica.w3.org>
- Date: Thu, 15 Jul 2010 15:37:48 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10175 Summary: Using multiple default namespaces Product: XPath / XQuery / XSLT Version: Working drafts Platform: PC OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: XSLT 2.1 AssignedTo: mike@saxonica.com ReportedBy: john.snelson@marklogic.com QAContact: public-qt-comments@w3.org There are often a number of function namespaces that a stylesheet will use with frequency. All but one of these namespaces currently need qualifying when used, since there is only one default function namespace. In other languages like Java, importing a namespace will bring the names from that namespace into the current scope. This allows them to be used without qualifying them with the namespace. I propose that we add a new attribute (maybe "using", or "using-function-namespaces"), which lists a set of namespaces, NS. When referencing a function with a QName L that doesn't have a prefix, the namespaces in NS are tried in turn looking for a function with a localname of L. If two or more such functions exist, an error is raised. To avoid the error the user should qualify the function reference with a prefix. -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Thursday, 15 July 2010 15:37:50 UTC