Re: error in specifications?

> 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