W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2004

underspecification in fallback to lax processing

From: C. M. Sperberg-McQueen <cmsmcq@acm.org>
Date: 28 Oct 2004 19:15:11 -0600
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
Message-Id: <1099012509.2579.636.camel@localhost>
As recently pointed out in an exchange between Sandy Gao and
Henry Thompson on the IG list (under the subject heading
"Validation rules for children of skipped elements"), the
paragraph at the end of Schema-Validity Assessment (Element)
is slightly underspecified.  It says:

  If the item cannot be strictly assessed, because neither
  clause 1.1 nor clause 1.2 above are satisfied, [Definition:]
  an element information item's schema validity may be laxly
  assessed _if its context-determined declaration is not skip_
  by validating with respect to the ur-type definition as per
  Element Locally Valid (Type)

[emphasis added by HT]

The spec does not say whether validation with respect to the
ur-type definition is allowed if the item's context-determined
declaration IS skip, or not.

The spec also does not call out this and other
implementation-dependent behaviors; it should.

I believe both of these (failure to forbid fallback to the
urtype for skipped subtrees, and failure to list
implementation-dependent behaviors) should be fixed in XML
Schema 1.1, and request that 1.1 issues be opened on these
topics.

-CMSMcQ


Received on Friday, 29 October 2004 01:15:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:07 GMT