This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 14742 - Test re00987 - name characters
Summary: Test re00987 - name characters
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Benjamin Nguyen
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-09 18:10 UTC by Michael Kay
Modified: 2011-11-09 18:37 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2011-11-09 18:10:04 UTC
This test matches a large number of characters against the regex \c to see whether they are valid name characters. It also matches one single character, x0346, to check that it is NOT a valid name character. But in XML 1.1 and in XML 1.0 5th ed, this character has become a valid name character. The results of the test are therefore implementation-defined, depending on which version of Unicode is supported.

I propose to change the test by substituting a different character. I have also reorganized the test case, which is currently very unwieldy, so that the input data is compressed into consecutive ranges of characters and the mismatching characters are revealed in the output of the test.
Comment 1 Michael Kay 2011-11-09 18:37:19 UTC
Fixed as suggested.