- From: andrea Boriero <aboriero@hoc.elet.polimi.it>
- Date: Wed, 27 Feb 2002 06:16:09 -0500 (EST)
- To: <xmlschema-dev@w3.org>
- Message-ID: <015701c1bf80$14a19f20$1aa7af83@pi45.cpi.polimi.it>
i have a problem with name conflict, i do not understand if this schema document is valid or not: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:element name="pippo"> <xs:complexType> <xs:sequence> <xs:element name="d"> <xs:complexType> </xs:complexType> </xs:element> <xs:element name="a" type="xs:string"/> <xs:choice> <xs:element name="b" type="xs:string"/> <xs:element name="a" type="xs:byte"/> <!-- is it legal ? --> <xs:element name="a" type="xs:byte"/> </xs:choice> <xs:sequence> <xs:element name="a"> <!-- and this ? --> <xs:complexType> </xs:complexType> </xs:sequence> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> thanks for your help andrea boriero
Received on Thursday, 28 February 2002 12:29:33 UTC