W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2002

Include Problem with IBM SQC

From: WATKIN-JONES,ADAM (HP-UnitedKingdom,ex1) <adam_watkin-jones@hp.com>
Date: Fri, 6 Sep 2002 11:27:22 +0100
Message-ID: <72FAAE98015DD511B42600D0B747AC7FC12540@kipling.br.itc.hp.com>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>

Hello all!

I have been trying out IBMs Schema Quality Checker 2.1.1 and it is throwing
an error where neither MSXML4 SP1 nor XSV (version='XSV 1.203.2.47.2.4
.2.14/1.106.2.25.2.6 of 2002/06/15 18:59:35') complain.  (I am trying to do
an include where the including document 'completes' the included document -
details below.)

Which validator am I to believe!?

Many Thanks,
Adam



TestCommon.xsd:

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <xsd:element name="root" type="RootType"/>

</xsd:schema>



TestInclude.xsd:

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <xsd:include schemaLocation="TestCommon.xsd"/>

    <xsd:complexType name="RootType">
        <xsd:sequence>
            <xsd:element name="foo" type="xsd:string"/>
        </xsd:sequence>
    </xsd:complexType>

</xsd:schema>



SQC error message:

TestInclude.xsd (file 1 of 1) now being read ...
ERROR
 file = file:C:/SOURCESAFE-HPBRA157/Open Projects/P & S
Catalog/Build/Publisher/
Wireframes XSD/TestCommon.xsd line 3 column 47
SEVERITY: 1
ERROR TYPE: 2
MESSAGE
Type RootType is not found.
Received on Friday, 6 September 2002 06:27:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:34 GMT