Re: validation problem, conflicting element scope ?

Hi,


> 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?

Cheers,
/Eddie

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