This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Hej, particlesZ031 is marked as valid however it seems to be invalid. The schema test tries to inherit a complex type with complex content from a complex type with simple content. Schema 1.0 allows to constructs the derived type with a "simple" content, however according to Schema 1.1 the content should be "empty" (I guess 1.1 tries to be more explicit than 1.0 here). However if the derived type as an "empty" content, than there is no rule in "Schema Component Constraint: Derivation Valid (Extension)" that would make it a valid extension. So the test case should be marked as invalid. Ciao, Tobias
Please see bug #5943 which was raised against the spec on this one. My analysis is/was: In XSD 1.0 this is legal, by mistake. The rules should stop you deriving complexContent from simpleContent, but they don't, and you end up with simpleContent even though you said you wanted complexContent. In XSD 1.1 this is illegal. It has been made illegal by the rather artificial device of generating a schema component that is deliberately invalid (it fails the consistency tests for schema components). In discussion of bug #5943 I appealed against the use of this technique because I felt it made life so difficult for readers of the spec, but I lost.
Ok, that is a duplicate, didn't found #5943 before :( *** This bug has been marked as a duplicate of bug 5943 ***