[XML-SIG] validator crash during target reading
Andrew Maclean
andyjmaclean at hotmail.com
Fri Jan 9 03:22:18 EST 2004
Dear all,
I read George's problem with the validator crash and I read Henry's reply.
I have now fully qualified my path names withthe prefix file but it still
crashes on me. Can anyone tell me what else I have missed? The code is
below.
Also, the example available at
http://uche.ogbuji.net/tech/akara/nodes/2003-03-24/wxs-xsv didn't seem to
run. I inserted some curly braces in the "printme" command and at least now
it half-runs.
# THE SCRIPT
>>>from XSV.driver import runit
>>>import sys
>>>xmlfile = "file:///C:/myxmlfile.xml"
>>>schemafile = "file:///C:/myxsdfile.xsd"
>>>res = runit( xmlfile, [schemafile] )
>>>res[0].printme(sys.stdout, {}, {}, {})
<xsv xmlns="http://www.w3.org/2000/05/xsv"
instanceAssessed="false"
schemaDocs="C:\myxsdfile.xsd"
target="C:\myxmlfile.xml"
version="XSV 2.5-2 of 2003/07/09 13:08:04">
<bug>validator crash during target reading</bug>
</xsv>
# THE SCHEMA
<?xml version="1.0">
<xs:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xs:element name="fullName" type="xs:string">
</xs:schema>
# THE TEST FILE
<?xml version="1.0">
<fullName>
Andy Maclean
</fullName>
Thanks,
Mr Andrew Maclean
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends
http://www.msn.co.uk/messenger
More information about the XML-SIG
mailing list