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

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

From: <bugzilla@wiggum.w3.org>
Date: Wed, 29 Jul 2009 16:02:16 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-7163-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7163

           Summary: [XQuery] String literals and predefined entity
                    references
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery
        AssignedTo: jonathan.robie@redhat.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


I have been testing our XPath 2.0 implementation using the XQTS test suite
(using those tests marked with is-XPath2='true').

I'm probably mistaken, but the queries Literals056:

"&amp;"

and Literals057:

"&quot;"

give different results depending on whether XQuery 1.0 or XPath 2.0 is used
because of the differences in the StringLiteral grammar.

This contradicts the paragraph:

"XQuery Version 1.0 is an extension of XPath Version 2.0. 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." 

in the XQuery 1.0 specification.


-- 
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 Wednesday, 29 July 2009 16:02:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:28 UTC