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

xsv trouble on linux and triv.xsd: can't find address for host "foo" in http URL "http://foo/"

From: Simon Josefsson <simon+xmlschema-dev@josefsson.org>
Date: Sun, 10 Mar 2002 17:00:11 +0100 (CET)
To: xmlschema-dev@w3.org
Message-ID: <Pine.LNX.4.44.0203101655430.8060-100000@yxa.extundo.com>
I'm trying to get XSV (CVS HEAD) to work under linux, but it is giving me
some problems.  Running it on triv.xml + triv.xsd yields:

[sjosefsson@sjosefsson-pc xmlschema]$ python ./applyschema.py triv.xml triv.xsd
<?xml version='1.0'?>
<xsv docElt='{http://foo}root' instanceAssessed='true' instanceErrors='1' schemaDocs='triv.xsd' schemaErrors='0' schemaLocs='http://foo -> triv.xsd' target='/home/sjosefsson/src/xmlschema/triv.xml' validation='lax' version='XSV 1.205/1.109 of 2001/10/03 21:06:42' xmlns='http://www.w3.org/2000/05/xsv'>
<schemaDocAttempt URI='/home/sjosefsson/src/xmlschema/triv.xsd' outcome='failure' source='command line'/>
<notASchema filename='/home/sjosefsson/src/xmlschema/triv.xsd'/>
<schemaDocAttempt URI='/home/sjosefsson/src/xmlschema/triv.xsd' namespace='http://foo' outcome='failure' source='schemaLoc'/>
<notASchema filename='/home/sjosefsson/src/xmlschema/triv.xsd'/>
<schemaDocAttempt URI='http://foo/' namespace='http://foo' outcome='failure' source='docElt'>
<notASchema filename='http://foo/'>couldn't open</notASchema>
</schemaDocAttempt>
<invalid char='5' code='cvc-elt.1.1' line='9' resource='file:///home/sjosefsson/src/xmlschema/triv.xml'>xsi:nil 
specified on non-nillable element e2</invalid>
<XMLMessages>
Error: can't find address for host "foo" in http URL "http://foo/"
</XMLMessages>
</xsv>
[sjosefsson@sjosefsson-pc xmlschema]$

Even running it on XMLSchema doesn't work:

[sjosefsson@sjosefsson-pc xmlschema]$ python ./applyschema.py http://www.w3.org/2001/XMLSchema
<?xml version='1.0'?>
<xsv docElt='{http://www.w3.org/2001/XMLSchema}schema' instanceAssessed='true' instanceErrors='0' schemaErrors='0' target='http://www.w3.org/2001/XMLSchema' validation='lax' version='XSV 1.205/1.109 of 2001/10/03 21:06:42' xmlns='http://www.w3.org/2000/05/xsv'>
<schemaDocAttempt URI='http://www.w3.org/2001/XMLSchema' namespace='http://www.w3.org/2001/XMLSchema' outcome='failure' source='docElt'/>
<notASchema filename='http://www.w3.org/2001/XMLSchema'/>
</xsv>
[sjosefsson@sjosefsson-pc xmlschema]$

Any ideas?  Thanks.
Received on Tuesday, 12 March 2002 00:16:27 GMT

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