W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2009

RE: Possible to restrict top-level xs:element names?

From: Michael Kay <mike@saxonica.com>
Date: Sat, 7 Nov 2009 10:25:13 -0000
To: "'C. M. Sperberg-McQueen'" <cmsmcq@blackmesatech.com>, "'kennardconsulting'" <richard@kennardconsulting.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <D40E202A54094FB2AD4F3CD0496F6136@Sealion>
>    (b) make sure your processor distinguishes between elements
>        with [validity]=invalid and those with [validity]=notKnown
>        (again, how you do this is between you and your processor,
>        and out of scope for the XSD spec); and

You might like to note that Saxon's schema processor, and perhaps some other
products, expose this distinction by allowing you to select "strict" or
"lax" validation. Strict validation fails if the outcome is
[validity]=notKnown, whereas lax validation succeeds.


Michael Kay
Received on Saturday, 7 November 2009 10:25:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:17 UTC