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 4009 - Length facets on QName types
Summary: Length facets on QName types
Status: CLOSED INVALID
Alias: None
Product: XML Schema Test Suite
Classification: Unclassified
Component: NIST tests (show other bugs)
Version: 2006-11-06
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Henry S. Thompson
QA Contact: XML Schema Test Suite mailing list
URL:
Whiteboard: metadata update confirmed 2008-11-01
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-24 14:12 UTC by Michael Kay
Modified: 2008-11-02 16:33 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2006-11-24 14:12:51 UTC
The NIST tests in the QName directory include a number of tests (easily identified by their names) which test the use of the length, minLength, and maxLength facets applied to xs:QName values. The specification permits these facets but states that they are deprecated, and attaches no meaning to them. The expected test results appear to assume that the facets will be ignored (for example the value xthe:aand-be.qua is considered valid when the schema specifies a maxLength of 1).

If the specification intends that these facets should be ignored, then it should say so. Since the spec as written doesn't say what a processor should do with them, it would be better for the tests to be removed, or for the results to be flagged in some way as undefined.
Comment 1 Michael Kay 2008-06-20 14:20:05 UTC
Schema 1.0 Part 2 section 4.3.1.3, Validation Rule: Length Valid, clause 1.3, and parallel rules for minLength and maxLength make clear that the length, minLength, and maxLength facets on QName are effectively ignored, so these test cases are indeed valid and the bug is therefore closed as invalid.