- From: <bugzilla@jessica.w3.org>
- Date: Tue, 14 May 2013 20:41:04 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22032 Bug ID: 22032 Summary: [XQ30] Consistency between the node-name and namespaces of a constructed element Classification: Unclassified Product: XPath / XQuery / XSLT Version: Candidate Recommendation Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: XSLT 3.0 Assignee: mike@saxonica.com Reporter: mike@saxonica.com QA Contact: public-qt-comments@w3.org (From a comment by Christian GrĂ¼n <christian.gruen@gmail.com> on the saxon-help list). Consider element e { namespace {''} {'u'} } The rules say that (a) the name of the element is Q{}e (b) the element has a namespace binding (""=>"u") This would violate a consistency constraint in the data model (section 6.2.1 rule 12). Possibilities are: (1) change the name of the element to Q{u}e (2) don't add the namespace binding to the element node (3) raise a dynamic error XSLT chooses (3). Specifically [ERR XTDE0440] It is a non-recoverable dynamic error if the result sequence contains a namespace node with no name and the element node being constructed has a null namespace URI (that is, it is an error to define a default namespace when the element is in no namespace). Christian was expecting (1). -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 14 May 2013 20:41:05 UTC