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 2891 - Element being valid without satisfying its {type definition}
Summary: Element being valid without satisfying its {type definition}
Status: CLOSED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.0/1.1 both
Hardware: All All
: P4 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard: important, easy
Keywords: resolved
Depends on:
Blocks:
 
Reported: 2006-02-17 16:23 UTC by Sandy Gao
Modified: 2009-04-21 19:21 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2006-02-17 16:23:57 UTC
Section 3.3.1 has
"An element information item is ·valid· only if it satisfies the {type 
definition}."

This is not correct. An element can be valid if it satisfies an xsi:type that's 
derived from the {type definition} by extension, even if the element doesn't 
satisfy the {type definition} itself.
Comment 1 C. M. Sperberg-McQueen 2006-10-14 14:33:44 UTC
A proposal to resolve this issue has been placed at 
http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.cleanup-1.200610.html
(member-only link) for review and action by the WG.
Comment 2 C. M. Sperberg-McQueen 2006-10-21 20:18:11 UTC
The proposal mentioned in comment #1 has been approved by the WG;
the revised text will be included in the next public working draft
(and is now in the status-quo draft accessible to W3C members at
http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.nsq.html).