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 5780 - Identity Constraints on Complex Types with Simple Content
Summary: Identity Constraints on Complex Types with Simple Content
Status: NEW
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.0 only
Hardware: PC Windows 3.1
: P2 normal
Target Milestone: ---
Assignee: David Ezell
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 4060
  Show dependency treegraph
 
Reported: 2008-06-21 16:51 UTC by Michael Kay
Modified: 2012-12-04 00:54 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2008-06-21 16:51:12 UTC
In 1.0, rule 3 of Identity-Constraint Satisfied says that the element in question must have a simple type. This disallows a complex type with simple content. This appears to be a simple oversight in the drafting, and it has been corrected in 1.1, though we have failed to find a bug report on the issue.

Bug #4060 against the test suite points out that this affects the outcome of several tests, and also points to previous correspondence on the issue:

http://lists.w3.org/Archives/Public/xmlschema-dev/2003Feb/0025.html
Comment 1 Michael Kay 2008-06-22 14:28:58 UTC
Noted at the same time (see bug #4063) we ought to clarify that an attribute that was "skipped" (in the 1.1 sense) does not have a simple type for the purposes of this rule.