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 14245 - test attP029 should be invalid for schema 1.1
Summary: test attP029 should be invalid for schema 1.1
Status: RESOLVED FIXED
Alias: None
Product: XML Schema Test Suite
Classification: Unclassified
Component: Microsoft tests (show other bugs)
Version: 2006-11-06
Hardware: All All
: P2 normal
Target Milestone: XSD 1.1 PR
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema Test Suite mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-22 15:20 UTC by Andreas Meissl
Modified: 2011-10-24 15:51 UTC (History)
3 users (show)

See Also:


Attachments

Description Andreas Meissl 2011-09-22 15:20:52 UTC
Tests "attP029" and "attP029.v" of set "MS-Attribute2006-07-15" violate src-attribute.5 (http://www.w3.org/TR/xmlschema11-1/#src-attribute) of the schema 1.1 specification (fixed and use="prohibited"). There should be different expected results for 1.1 and 1.0.
Comment 1 Michael Kay 2011-10-07 17:30:16 UTC
I have taken the liberty of fixing the test since I think the bug report is uncontroversial.
Comment 2 Sandy Gao 2011-10-11 13:56:27 UTC
I agree the schema should be marked as invalid for 1.1.

For the accompanying instance test, there should only be an expected result for 1.0. i.e. the test doesn't apply to 1.1 and the <expected version="1.1"> part should be removed. (The schema is invalid for 1.1, so can't be used for schema validation, and the instance is neither valid nor invalid.)
Comment 3 Michael Kay 2011-10-12 10:22:57 UTC
Comment 2: yes, that seems a reasonable way to handle this.

Tests attKb009 and attKc009 in the Microsoft test suite appear to demonstrate the same problem (@fixed with use=prohibited). I propose to mark these two as invalid in XSD 1.1 also.
Comment 4 Michael Kay 2011-10-12 10:29:19 UTC
Also affects attP031 in the same way.