W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2008

[Bug 5943] ComplexContent extending SimpleContent

From: <bugzilla@wiggum.w3.org>
Date: Wed, 29 Oct 2008 21:08:48 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1KvIHY-0002zK-VB@farnsworth.w3.org>


C. M. Sperberg-McQueen <cmsmcq@w3.org> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #1 from C. M. Sperberg-McQueen <cmsmcq@w3.org>  2008-10-29 21:08:48 ---
The WG discussed this issue during the ftf today.

The status quo does in fact generate a result pretty much as described
in the bug description, but the status quo also satisfies the demand that
the example not be legal:  the result generated by the mapping rules falls
afoul of clause 1.4 of the Schema Component Constraint: Derivation Valid 
(Extension) and thus is not a conforming component.

This is one of the cases covered by the note in section 3.4.1 which

  Not all combinations of {derivation method} and {content type} 
  are compatible with all properties of the {base type definition}.

We considered adding another note in the appropriate clause (4.2.1)
of the mapping rule in, but (a) some were nervous about
getting the exact wording of such a note right (is it invariably the
case that if clause 4.2.1 fires, the result will violate a constraint
on schemas?  we thought so, briefly, but decided not), and (b) there are
several other places where the mapping rules produce results which violate
constraints on schemas; this is a consequence of making certain that the
constraints on the XML representation of schemas are wherever possible
testable against the XML in isolation.

The end result is that we believe this issue should be classed as

Michael, if you are willing to live with this resolution, please so indicate
by closing the issue; if not, please prepare for a difficult argument 
within the WG.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 29 October 2008 21:08:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:12 UTC