Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: any processContents strict

From: "Michael Kay" <mike@--------.--->
To: "'Bryan Rasmussen'" <brs@----.-->, <xmlschema-dev@--.--->
Date: 1/25/2006 12:01:00 PM
> If I send an instance to a validator and it encounters 
> content it does not
> understand it is up to the processor if it defaults to 
> validate strict, lax, skip....

I would have said it is up to the user, but the way the user tells the
processor what they want is implementation-defined.

> But if I have an xsd:any and set the processContents to be 
> strict then the
> processor must follow the strict validation model for 
> everything that within
> the element that can hold 'any', correct? 

Yes.

IIRC there is some ambiguity about processContents="lax", if you find an
element for which there is no global element declaration, whether you "skip"
it, or apply lax validation to its children.

Michael Kay
http://www.saxonica.com/



From brs@i... Wed Jan 25 12:06:45 2006
Received: from l


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent