This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
Fixed as suggested.