W3C home > Mailing lists > Public > public-qt-comments@w3.org > August 2009

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 25 Aug 2009 10:45:32 +0000
To: public-qt-comments@w3.org
Message-Id: <E1MftWu-0002su-Kj@wiggum.w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:40 UTC