>xsv tlsx131.xsd tlsx131.xsd

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 UTC