W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2002

Re: <xs:any> behavior

From: Eddie Robertsson <erobertsson@allette.com.au>
Date: Tue, 16 Jul 2002 09:43:02 +1000
Message-ID: <3D335E06.30309@allette.com.au>
To: Jeni Tennison <jeni@jenitennison.com>
CC: Brian Madigan <bmadigan@oliverecords.com>, xmlschema-dev@w3.org



Jeni Tennison wrote:

>Hi Brian,
>
>  
>
>>I am finding that the xs:any declaration works as suggested in XML
>>Spy's validator, but not in xerces-J 1.4.4. The xerces validator is
>>telling me that Elements at that level must be declared. XML spy
>>does not complain when validation the same instance document/schema.
>>    
>>
>Without actually seeing your schema it's hard to tell which of the
>validators is correct, but bear in mind that the processContents
>attribute on xs:any defaults to 'strict', which means that if the
>validator finds an element in the instance that gets validated against
>the xs:any, but it can't find a global element declaration for that
>element, it should raise an error.
>
You probably should move to the latest release of Xerces as well (2.0.2) 
since there has been many improvements in the conformance to W3C XML 
Schema since 1.4.4

Cheers,
/Eddie
Received on Monday, 15 July 2002 19:30:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:57 UTC