[XML-SIG] Problems with XML processing

aravind c aravind c" <caruvi@rediffmail.com
20 Feb 2003 05:55:14 -0000


Hi,
       I am new to python and XML.  I need to use python for XML 
processing.  I am familiar with the basics of python.  I have 
python 2.2 installed on my machine.  I have downloaded PyXML and 
installed it as per instructions given in the documentation.  I 
was able to install in without any hitch.

        If I try to run a test program present in the 
documentation I get the following error messages:

  File "saxdemo.py", line 67, in ?
     p.parse(in_sysID)
   File 
"/usr/local/lib/python2.2/site-packages/_xmlplus/sax/drivers/drv_pyexpat.py", 
line 59, in parse
     self.parseFile(urllib2.urlopen(sysID),sysID)
   File "/usr/local/lib/python2.2/urllib2.py", line 138, in 
urlopen
     return _opener.open(url, data)
   File "/usr/local/lib/python2.2/urllib2.py", line 320, in open
     type_ = req.get_type()
   File "/usr/local/lib/python2.2/urllib2.py", line 224, in 
get_type
     raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: 
/users/aravindc/Desktop/xml/book.xml

Aravind.