- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 06 Oct 2009 11:57:30 +0000
- To: public-qt-comments@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7163 --- Comment #9 from Jonathan Robie <jonathan.robie@redhat.com> 2009-10-06 11:57:29 --- (In reply to comment #8) > (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. Yes, the & got mangled in transit. I didn't know BZ did that! > Other minor comment: > > String literals contain entity references (not entities) > > (also typo: entitities --> entities ) Oooops .... nice catch! -- 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:57:31 UTC