[Bug 2441] xqx: character references

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2441





------- Comment #12 from davidc@nag.co.uk  2006-09-15 18:29 -------
>  since it's not clear what the behaviour should be.

I do not see any ambiguity in the current spec, what ambiguity do you see?

string literals in XQueryX should just encode the string in XML not the XML
encoding of  the XQuery encoding of the string. so the string of length 1
consisting of an ampersand is encoded as & not as &
The implementation in xqueryx.xsl also requires this, it is easy to check by 
running xqueryx.xsl on any of the xqueryx files listed in comment #9 that the
resulting XQuery is not equivalent to the original XQuery file in the test
suite.

David

Received on Friday, 15 September 2006 18:29:33 UTC