- From: Asir S Vedamuthu <asirv@webmethods.com>
- Date: Wed, 28 Mar 2001 10:49:15 -0500
- To: "Forge" <forge@neonics.com>, <xmlschema-dev@w3.org>
> Which means to me that the following is valid:
>
> <xsd:complexType name="bla">
> <xsd:simpleContent>
> <xsd:restriction ....>
> </xsd:simpleContent>
> <xsd:attribute name="..."/>
> </xsd:complexType>
Nope. It is not valid. 'Cos,
> Content: (annotation?, (simpleContent | complexContent | ((group | all |
> choice | sequence)?, ((attribute | attributeGroup)*, anyAttribute?))))
If you observe this content model spec carefully, you would find the
following 3 combinations,
annotation?, simpleContent
annotation?, complexContent
annotation?, ((group | all | choice | sequence)?,
((attribute | attributeGroup)*, anyAttribute?))
Regards, Asir
Received on Wednesday, 28 March 2001 10:48:55 UTC