[Bug 5078] define required components

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5078


cmsmcq@w3.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
  Status Whiteboard|                            |important, work




------- Comment #1 from cmsmcq@w3.org  2007-12-27 00:36 -------
Thank you; good point.

At a first approximation, I think the current text's best effort at
clarifying this issue lies in the rules (e.g. in Validation Rule: Element 
Locally Valid (Element)) which say things like "The declaration must not
be absent", and I think the upshot is that validation can take place even
if element declarations referred to in a content model are not present
in the schema -- as long as they are not in fact needed to validate the
document instance.  And similarly, I think, for type definitions:  if they
are not needed, they need not be present.  

Element declarations not explicitly referred to, which might govern 
elements which match a wildcard, are (I think) definitely not required for
validation, and the text should probably be revised to make that clearer.

Further clarification may be hoped for from the WG's discussions of 
schema composition; some current proposals on that topic include clarifications
of the idea of schema completeness, and when the WG discussion reaches a
conclusion, I hope it will be possible to draft wording that addresses the
problem identified in this issue.

Received on Thursday, 27 December 2007 00:38:13 UTC