W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2001

Re: validation problem, conflicting element scope ?

From: Eddie Robertsson <eddie@allette.com.au>
Date: Thu, 06 Dec 2001 09:57:07 +1100
Message-ID: <3C0EA643.CCF8375B@allette.com.au>
To: Guillaume Rousse <rousse@ccr.jussieu.fr>
CC: xmlschema-dev@w3.org

> Here are the global elements definition:
> <element name="locations" minOccurs="0" maxOccurs="1">
>   <complexType>
>     <sequence>
>       <element ref="model:location" minOccurs="1" maxOccurs="unbounded"/>
>     </sequence>
>     <attribute name="id" type="model:KeyType"/>
>   </complexType>
> </element>

I don't think this is the cause of your problem but you're not allowed to have
minOccurs and maxOccurs attributes on global element definitions so try and
remove these from the above element declaration.
Other than that you schema and instance look good to me. What version of Xercex
are you using?

Received on Wednesday, 5 December 2001 17:50:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:56 UTC