xsl-list
[Top] [All Lists]

Re: [xsl] instance-of schema-element

2008-03-14 10:49:04
Andrew Welch wrote:
lax validation will validate the element if a definition is found to
validate it against... so because a definition is there, lax will
behave the same as strict wouldn't it?

That wasn't how I understood lax validation, but checking the relevant specs confirms that you're correct.

It would seem useful to have a validation mode that assigned a type of xs:anyType to an element that failed validation - raising errors is such a drastic measure to resort to in a language without the ability to trap those errors.

John

--
John Snelson, Oracle Corporation            http://snelson.org.uk/john
Berkeley DB XML:        http://www.oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.net

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--