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

>xsv tlsx131.xsd tlsx131.xsd

From: Stanley Guan <stanley.guan@oracle.com>
Date: Tue, 12 Nov 2002 10:21:18 -0800
Message-ID: <040e01c28a78$4bd11f20$c5b42382@us.oracle.com>
To: <xmlschema-dev@w3.org>
Cc: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
Henry,

In the following test scenario, I use tlsx131.xsd as both instance document
and schema document.  It looks like XSV is happy about it.  In this case,
does XSV use schema of schema's to validate the instance document and
ignore the provided schema document?

Thx,

-Stanley


F:\Xsv>xsv tlsx131.xsd tlsx131.xsd
<?xml version='1.0'?>
<xsv docElt='{http://www.w3.org/2001/XMLSchema}schema' instanceAssessed='true' i
nstanceErrors='0' rootType='[Anonymous]' schemaDocs='tlsx131.xsd' schemaErrors='
0' target='file:/F:/Xsv/tlsx131.xsd' validation='strict' version='XSV 1.203.2.45
/1.106.2.22 of 2002/01/11 16:40:28' xmlns='http://www.w3.org/2000/05/xsv'>
<schemaDocAttempt URI='file:/F:/Xsv/tlsx131.xsd' outcome='success' source='comma
nd line'/>
</xsv>

F:\Xsv>cat tlsx131.xsd
<schema xmlns="http://www.w3.org/2001/XMLSchema"
        targetNamespace="mordor" xmlns:hob="mordor">

    <element name="values">
        <complexType>
            <sequence>
                <element name="value" type="hob:Value" maxOccurs="99"/>
            </sequence>
        </complexType>
    </element>

    <simpleType name="Value" final="list">
        <union memberTypes="integer decimal" />
    </simpleType>

    <simpleType name="Values">
        <list itemType="hob:Value"/>
    </simpleType>
</schema>
Received on Tuesday, 12 November 2002 13:27:11 GMT

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