W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2009

XSV and Python 2.5

From: Paul Steckler <Paul.Steckler@nicta.com.au>
Date: Tue, 5 May 2009 10:43:11 +1000
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-ID: <2EB36A07AAE8C44BBB1986425E7A22D00359D19870@atp-mbx1.in.nicta.com.au>
Is there an issue running XSV, the Schema validator, with Python 2.5?

When I run 

  python commandLine.py foo.xsd

I get a backtrace that ends with

  File "/usr/lib/python2.5/site-packages/XSV/compile/SSchema.py", line 205, in initFromDump
    raise errorI 
  XSV.compile.SSchema.error: "shouldn't happen"

The error occurs whether the Schema file is valid or complete nonsense.

I set PYTHONPATH to the directory containing XSV; that's under python-2.5/site-packages on 
my Fedora 10 box.

Any help appreciated.

-- Paul
--
Paul Steckler
National ICT Australia
paul DOT steckler AT nicta.com.au
Received on Tuesday, 5 May 2009 00:51:32 GMT

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