[Bug 7163] [XQuery] String literals and predefined entity references

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





--- Comment #4 from Tim Mills <tim@cbcl.co.uk>  2009-08-25 10:45:32 ---
If an XQuery processor receives the query

"&amp;"

the result is 

&

If an XPath 2.0 processor receives the query

"&amp;"

_after_ any decoding due to it being embedded in some other language (e.g. XSLT
2.0) the result is

&amp;

"Any expression that is syntactically valid and executes successfully in both
XPath 2.0 and XQuery 1.0 will return the same result in both languages." 

Here 

"&amp;"

is an expression that is syntactically valid and executes successfully.  It
will not, however, return the same result.


-- 
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, 25 August 2009 10:45:42 UTC