This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
I have an xsd file, that I need to provide the functionality of 'all' and 'unbounded'. I get validation errors if I do so. Eg. <xs:all> <xs:element ref="field" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="grid" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="buttons" minOccurs="0"/> </xs:all>
Is there anyway I can get this functionality? Everything I have read says you cannot have an element unbounded if it is attatched to an 'all'. It has to be attatched to a 'sequence' or a 'choice' to be 'unbounded'. I need unbounded elements, in any sequence. Please help. Thanks
posted 13 years ago
thanks anyway, but in actual fact I asked a silly Q. To do what I needed all I had to do was make the sequence unbounded.