[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Schema constructs
Title: RE: Schema constructs Joe > What error message are you getting? (I'm thinking the issue might be > non-determinism) I am trying to define an element as <xsd:element name="modify"> <xsd:complexType> <xsd:sequence> <xsd:element ref="tag"/> <xsd:all minOccurs="0"> <xsd:element ref="lowscale"/> </xsd:all> </xsd:sequence> </xsd:complexType> </xsd:element> and xsv is telling me that 'all' is not allowed at that point. This is consistent with the primer saying that 'all' can only exist at the top level but I can't see how to specify that the element "tag" is always first, followed by one or more elements such as "lowscale" (for simplicity the only one that I have included). Regards, David
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|