i have a schema of the form...
<xs:complexType name="Foo">
<xs:sequence>
<xs:element name="Bar" type="my:Bar" minOccurs="1"
maxOccurs="1" />
<xs:element name="Baz" type="my:Baz" minOccurs="0"
maxOccurs="1" />
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Blah1" type="my:Blah1" />
<xs:element name="Blah2" type="my:Blah2" />
<xs:element name="Blah3" type="my:Blah3" />
</xs:choice>
</xs:sequence>
</xs:complexType>
which is equivalent to a dtd of the form...
<!ELEMENT Foo (Bar, Baz?, (Blah1 | Blah2 | Blah3)*)>
however, jaxme 0.5.1 complains with the exception...
org.xml.sax.SAXParseException: Model groups with maxOccurs > 1 are not
yet supported.
i the flexibility to modify my schema, but i must have one "Bar"
element, an optional "Baz" element, and one or more "Blah1" "Blah2" and
"Blah3" elements.
is there a different way to write the schema to get the same effect? or,
is there a workaround for this jaxme limitation? or am i totally off
base?
thanks for your help
bobD
--
Roberto Diaz
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]