Tobias Koenig wrote: > But why exactly is it wrong? Does it violates the UPA constraint in > some way? No, it violates the constraint "Element Declarations Consistent" <http://www.w3.org/TR/xmlschema-1/#cos-element-consistent>. You cannot have two sibling elements with the same name but different types. Your example could have been more simply the following: <xsd:sequence> <xsd:element name="e1" type="xsd:string"/> <xsd:element name="e1" type="xsd:integer"/> </xsd:sequence> Regards, -- Florent Georges http://www.fgeorges.org/Received on Friday, 2 January 2009 15:46:17 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 March 2009 11:13:43 GMT