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

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 UTC