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 test doesn't seem to match its XQuery counterpart. Compare: <a xmlns:foo="http://www.w3.org/"> <b xmlns:foo="" /> </a> with: <xqx:mainModule> <xqx:queryBody> <xqx:functionCallExpr> <xqx:functionName>exists</xqx:functionName> <xqx:arguments> <xqx:elementConstructor> <xqx:tagName>element</xqx:tagName> <xqx:attributeList> <xqx:namespaceDeclaration> <xqx:prefix>foo</xqx:prefix> <xqx:uri>http://www.w3.org/</xqx:uri> </xqx:namespaceDeclaration> </xqx:attributeList> <xqx:elementContent> <xqx:elementConstructor> <xqx:tagName>element</xqx:tagName> <xqx:attributeList> <xqx:namespaceDeclaration> <xqx:prefix>foo</xqx:prefix> <xqx:uri></xqx:uri> </xqx:namespaceDeclaration> </xqx:attributeList> </xqx:elementConstructor> </xqx:elementContent> </xqx:elementConstructor> </xqx:arguments> </xqx:functionCallExpr> </xqx:queryBody> </xqx:mainModule> </xqx:module> Where has the function call to exists come from?
The <test> of test-case XQST0085b was changed from exists(<element xmlns:foo="http://www.w3.org/"> <element xmlns:foo="" /> </element>) to <a xmlns:foo="http://www.w3.org/"> <b xmlns:foo="" /> </a> in rev 1.39 of misc/CombinedErrorCodes.xml (2013-11-02). The XQueryX query appears to be based on the older version of the test.
I am marking this bug as resolved. If you agree, in the next generation of the XQueryX tests we will pick up changes in the tests.