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

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:

"&"

and Literals057:

"""

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