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>

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?



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
/ 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'/>

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

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

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

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:58 UTC