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 4681 - Microsoft Errata10 test errF001
Summary: Microsoft Errata10 test errF001
Status: NEW
Alias: None
Product: XML Schema Test Suite
Classification: Unclassified
Component: Microsoft tests (show other bugs)
Version: 2006-11-06
Hardware: PC Windows 2000
: P2 normal
Target Milestone: ---
Assignee: Henry S. Thompson
QA Contact: XML Schema Test Suite mailing list
URL:
Whiteboard:
Keywords: disputedTest
Depends on:
Blocks:
 
Reported: 2007-06-21 04:09 UTC by Michael Glavassevich
Modified: 2010-03-26 15:37 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Glavassevich 2007-06-21 04:09:01 UTC
The schema for the Microsoft Errata10 test (group="errF001";name="errF001") is described as valid in the metadata. I think that this schema is actually invalid. E2-35 [1] (the erratum this test is trying to test) was superseded by E2-66 [2] before XML Schema 1.0 2nd edition was released. Due to E2-66 the spec [3] now says: "If length is a member of {facets} then it is an error for maxLength to be a member of {facets} unless there is a type definition from which this one is derived by one or more restriction steps in which maxLength has the same {value} and length is not specified." I believe the simple type "st2" defined in errF001.xsd doesn't satisfy this condition because the base type definition doesn't have a maxLength facet.

[1] http://www.w3.org/2001/05/xmlschema-errata#E2-35
[2] http://www.w3.org/2001/05/xmlschema-errata#E2-66
[3] http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#length-coss