Hallo,
Waht is the position, point of view of W3C with derivation by restriction of
<any> Element? The situation is:
I have an schema, that i want to restrict. At one place schema is open and has
an Element where <any> Element with maxOccur="unbounded" is defined. I want to
define two Elements ("foo" and "bar")instead of the any-deklaration. For
example:
<xs:complexType name="basis_test_typ">
<xs:sequence>
<xs:any maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
my derived Type:
<xs:complexType name="derived_test_typ">
<xs:complexContent>
<xs:restriction base="basis_test_typ">
<xs:sequence>
<xs:element name="foo"/>
<xs:element name="bar"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
so with two defined elements i get error-message from Microsoft msxml4. With
Xerces-Parser (verion 2.6.2) i get no error-message, but as i previously wrote
Xerces-Parser don't recognize invalid derivation by restriction. With
declaration of only one element ("foo") i don't get errors. Does everybody
knows, what is the position, point of view of W3C ? Are Microsoft errors
correct ?
Evgeny
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]