W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > January 2007

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 02 Jan 2007 16:24:36 +0000
CC:
To: public-xml-schema-testsuite@w3.org
Message-Id: <E1H1mRI-0000dn-EA@wiggum.w3.org>

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

           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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:56 GMT