![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - xsd:any processContents strict [Thread Next] RE: any processContents strictTo: "'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 | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
