- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 22 Dec 2009 21:47:17 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=8537
Summary: computed attribute constructor issue raise by XQTS Bug
#8480
Product: XPath / XQuery / XSLT
Version: Proposed Edited Recommendation
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: XQuery
AssignedTo: jonathan.robie@redhat.com
ReportedBy: andrew.eisenberg@us.ibm.com
QAContact: public-qt-comments@w3.org
Bug #8480 is concerned with a new test case written to cover erratum XQ.E19 and
an older test case that is almost identical that returns a different error.
The new query is:
<result>{attribute {"xmlns:error"} {}}</result>
In 3.7.3.2 Computed Attribute Constructors we say:
If the keyword attribute is followed by a name expression, the name
expression is processed as follows:
1)
.
.
.
3) ... If conversion of the atomized name expression to an
expanded QName is not successful, a dynamic error is raised
[err:XQDY0074].
A static error is raised [err:XQST0044] if the node-name of the constructed
attribute node has any of the following properties:
* Its namespace prefix is xmlns.
* ...
The text introduced by XQ.E19 seems to have two problems:
- it is raising a static error after the attribute node is constructed
- the construction of the attribute fails, because xmlns is not defined in our
statically known namespaces, and so the new text will never be considered
--
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 Tuesday, 22 December 2009 21:47:19 UTC