[Bug 4133] Microsoft "schema" test set, schG3


           Summary: Microsoft "schema" test set, schG3
           Product: XML Schema Test Suite
           Version: 2006-11-06
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Microsoft tests
        AssignedTo: ht@inf.ed.ac.uk
        ReportedBy: mike@saxonica.com
         QAContact: public-xml-schema-testsuite@w3.org

In the Microsoft "schema" test set, 

<test group="schG3" name="schG3.v"/>

the instance is described in the metadata as valid.

The catalog (and xsi:schemaLocation) invoke schG3_a.xsd with targetNS ns_a;
this imports schG3_b.xsd with targetNS ns_b. This in turn contains:

<xsd:import namespace="ns-a" schemaLocation="schG3_c.xsd" />

Because schemaLocation is a hint, and a schema for ns_a is already available,
the processor is not obliged to load schG3_c.xsd. If the processor decides not
to do so, then no element declaration will be available for {ns_a}foo, and
validation will therefore fail.

Received on Tuesday, 2 January 2007 16:24:38 UTC