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

editorial note on section 5.2

From: C. M. Sperberg-McQueen <cmsmcq@acm.org>
Date: 02 Nov 2004 10:20:52 -0700
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
Message-Id: <1099416048.22660.127.camel@localhost>
There is a grammatical oddity (as well as a certain amount of
obscurity) in a sentence in section 5.2 of Structures.

I believe the sentence 

    3 The processor starts from Schema-Validity Assessment
      (Element) (&sect;3.3.4) with no stipulated declaration or
      definition, and either strict or lax assessment
      ensues, depending on whether or not the element
      information and the schema determine either an element
      declaration (by name) or a type definition (via xsi:type)
      or not.

has one 'or not' too many.

Quick fix: delete the first 'or not', yielding

    3 The processor starts from Schema-Validity Assessment
      (Element) (&sect;3.3.4) with no stipulated declaration or
      definition, and either strict or lax assessment
      ensues, depending on whether the element
      information and the schema determine either an element
      declaration (by name) or a type definition (via xsi:type)
      or not.

This has the drawback that it makes the decision about strict
or lax assessment easier to misunderstand than it was before.

I believe that what is meant is

    3 The processor starts from Schema-Validity Assessment
      (Element) (&sect;3.3.4) with no stipulated declaration or
      definition.  If the element information and the schema
      determine either an element declaration (by name) or a
      type definition (via xsi:type), then strict assessment is
      performed; otherwise, the element information item is
      validated with respect to the ur-type definition.

If my understanding is correct, I offer the wording just above
as a possible rewording of the rule.  

If my understanding is incorrect, I offer the wording just
above as evidence of one way that a reasonably attentive reader
can be led astray by the current wording.
      
-CMSMcQ


Received on Tuesday, 2 November 2004 17:21:24 GMT

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