Mukul Gandhi <gandhi.mukul@gmail.com> wrote on 01/31/2011 10:27:04 AM:
...
> As a side note: I think Xerces has an option to turn off UPA checking,
> so you can perform a lax validation ignoring UPA concerns.
The option in Xerces is a performance feature, mostly to reduce the cost of schema loading when you know your schema is valid, not to ignore errors. Though you could (ab)use it for that purpose and possibly get burned later.
> On Mon, Jan 31, 2011 at 7:57 PM, Maik Stührenberg
> <maik.stuehrenberg@uni-bielefeld.de> wrote:
> > It would be interesting to know why XSD processors do make a difference
> > between
> >
> > <xs:element name="a">
> > <xs:complexType>
> > <xs:sequence>
> > <xs:element ref="b"/>
> > <xs:element ref="b"/>
> > <xs:element ref="b"/>
> > <xs:element ref="b" minOccurs="0" maxOccurs="1"/>
> > <xs:element ref="b" minOccurs="0" maxOccurs="1"/>
> > </xs:sequence>
> > </xs:complexType>
> > </xs:element>
> >
> > and
> >
> > <xs:element name="a">
> > <xs:complexType>
> > <xs:sequence>
> > <xs:element ref="b" minOccurs="3" maxOccurs="5"/>
> > </xs:sequence>
> > </xs:complexType>
> > </xs:element>
>
>
>
>
> --
> Regards,
> Mukul Gandhi
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org