W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2008

[Bug 5512] Definition of valid schema document is incomplete

From: <bugzilla@wiggum.w3.org>
Date: Fri, 29 Feb 2008 03:48:28 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1JUwEV-0002ec-WF@wiggum.w3.org>


           Summary: Definition of valid schema document is incomplete
           Product: XML Schema
           Version: 1.1 only
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: cmsmcq@w3.org
        ReportedBy: cmsmcq@w3.org
         QAContact: www-xml-schema-comments@w3.org

In section 2.4 of Structures, conformance of schema documents is defined
as requiring (along with other things):

    1 It is valid with respect to the schema specified in Schema for Schema 
      Documents (Structures) (normative) (§A). (That is, in its ˇpost-schema-
      validation infosetˇ, the <schema> element has a [validation attempted]  
      property with value full or partial and a [validity] property with value 

There are two problems here:  (1) the closing parenthesis is missing, and
(2) the definition fails to specify that the schema element is to be 
validated against the top-level element declaration for schema (and not,
for example, against the top-level type definition for xs:anyType).

In one sense, the fix is obvious.  In another, it's less obvious:  this case
illustrates the difficulties one has using the terminology and concepts
defined by XSD to specify useful rules about validity of one's inputs.
(See also bug 5164, which touches on the same problem.)
Received on Friday, 29 February 2008 03:48:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:07 UTC