- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 17 Aug 2007 17:08:25 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4958
Summary: [XQTS] Attribute tests in XQueryX have incorrect axis
Product: XML Query Test Suite
Version: unspecified
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: XML Query Test Suite
AssignedTo: andrew.eisenberg@us.ibm.com
ReportedBy: oliver@cbcl.co.uk
QAContact: public-qt-comments@w3.org
This bug report applies to the following tests:
K2-Axes-86
K2-NameTest-32
K2-NameTest-64
K2-NameTest-65
K2-NameTest-71
The XQueryX conversion seems to convert <e a="foo">/attribute(a)
to
<xqx:pathExpr>
<xqx:stepExpr>
<xqx:filterExpr>
<xqx:elementConstructor>
<xqx:tagName>e</xqx:tagName>
<xqx:attributeList>
<xqx:attributeConstructor>
<xqx:attributeName>a</xqx:attributeName>
<xqx:attributeValue>foo</xqx:attributeValue>
</xqx:attributeConstructor>
</xqx:attributeList>
</xqx:elementConstructor>
</xqx:filterExpr>
</xqx:stepExpr>
<xqx:stepExpr>
<xqx:xpathAxis>child</xqx:xpathAxis>
<xqx:attributeTest>
<xqx:attributeName>
<xqx:QName>a</xqx:QName>
</xqx:attributeName>
</xqx:attributeTest>
</xqx:stepExpr>
</xqx:pathExpr>
This should use the attribute axis, not the child axis, and causes problems in
the tests listed above.
Received on Friday, 17 August 2007 17:08:29 UTC