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

Re: <xs:any> behavior

From: Brian Madigan <bmadigan@oliverecords.com>
Date: Mon, 15 Jul 2002 15:07:52 -0400 (EDT)
To: Jeni Tennison <jeni@jenitennison.com>, "Brian Madigan" <bmadigan@oliverecords.com>
Cc: xmlschema-dev@w3.org
Message-ID: <web-92941@plainblack.com>




After taking the schema apart and re building it from the root level, the 
error went away. Sorry, should have provided a test case, most likely a User 
error...

On Mon, 15 Jul 2002 19:03:05 +0100
  Jeni Tennison <jeni@jenitennison.com> 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.
>
>Cheers,
>
>Jeni
>
>---
>Jeni Tennison
>http://www.jenitennison.com/
>

Brian Madigan
Olive Records Inc.
bmadigan@oliverecords.com
www.oliverecords.com
Received on Tuesday, 16 July 2002 07:21:54 UTC

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