[Bug 3714] Over-general description of [element declaration] etc

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

           Summary: Over-general description of [element declaration] etc
           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


The [element declaration] and [type definition]
properties on elements are described as applying 
whenever an element is valid against an element
declaration / type definition.

On the face of it, the text implies that every
element must be validated against every element
declaration and type definition in the schema.

The text should say that the [element declation]
is present if the element is valid against its
context-determined declaration, and that the
value of the property is that context-determined declaration.
And so similarly for [type definition], with the 
added possibility of the value having been specified
in xsi:type.

The WG discussed this and agreed in principle to make 
such a change, at its meeting of 8 September 2006.
(Some WG members were, I think, inclined to believe that
the existing text is not really erroneous when read in
the proper light.  But they were unable to make others in
the WG see that proper light, and they were also willing
to countenance a change in wording, even if strictly, by
their lights, unnecessary.)

This bug report is for XML Schema 1.1.  The analogous
report for 1.0 is bug 3713.

Received on Wednesday, 13 September 2006 01:58:19 UTC