This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
This problem has been fixed as you suggest. The version of XQTS_current.zip committed on Saturday reflects these changes. Please close this bug report if you agree with this resolution.
Thanks