- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 06 Oct 2009 11:07:33 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7163 --- Comment #8 from David Carlisle <davidc@nag.co.uk> 2009-10-06 11:07:32 --- (In reply to comment #6) > * Because XQuery expands character entity references and XPath does not, > expressions containing character entitities produce different results in the > two languages. For instance, the value of the string literal "&" is & in > XQuery, and & in XPath. perhaps the & got mangled in transit, but the above appears wrong, The string literal given, "&" is a syntax error in Xquery and the string of length 1 containing an ampersand in xpath. But it doesn't contain an entity reference so isn't an example of the first sentence. I think the intended example is the string literal "&" is "&" in Xquery and "&" in Xpath. Other minor comment: String literals contain entity references (not entities) (also typo: entitities --> entities ) David -- 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, 6 October 2009 11:07:34 UTC