[Bug 14920] New: XML10-4ed-Excluded-char-1

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14920

           Summary: XML10-4ed-Excluded-char-1
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
        AssignedTo: benjie.nguyen@gmail.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org


This test case (in misc-XMLEdition) carries the comment

The character #x037E is excluded from the start of a Name in XML 1.0 4th
edition and older 

which is technically true; however, it is also excluded in XML 1.0 5th edition
and XML 1.1, which makes the test rather pointless, and one of the permitted
results incorrect.

I am splitting the tests in this set into two, with explicit dependencies on
XML versions, rather than simply allowing alternative results. I propose to
change this test to use a character that is not allowed as a name start
character prior to 1.1/1.0e5 but is allowed thereafter; a suitable candidate
might be x037F.

Some of these tests also suffer from incorrect use of CDATA, which I am fixing
at the same time. In XQuery, a character reference cannot appear in an element
name, so the expansion of character references must be done by the XML parser,
not by XQuery itself.

-- 
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 Thursday, 24 November 2011 11:01:31 UTC