[Bug 4680] Microsoft Element test elemZ027_c


           Summary: Microsoft Element test elemZ027_c
           Product: XML Schema Test Suite
           Version: 2006-11-06
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Microsoft tests
        AssignedTo: ht@inf.ed.ac.uk
        ReportedBy: mrglavas@ca.ibm.com
         QAContact: public-xml-schema-testsuite@w3.org

The schema for the Microsoft Element test
(group="elemZ027_c";name="elemZ027_c") is described as invalid in the metadata.
I think that this schema is actually valid. From my reading of the spec [1] and
this post to the xmlschema-dev list [2] I believe that the block="substitution"
on element "b" only blocks "a" from being a member of "b"'s substitution group.
As such the element "d" specified in the base type can be substituted by "c",
"b" and "a" which means the derived type is valid.

[1] http://www.w3.org/TR/xmlschema-1/#cos-equiv-derived-ok-rec
[2] http://lists.w3.org/Archives/Public/xmlschema-dev/2007Jan/0068.html

Received on Thursday, 21 June 2007 03:43:10 UTC