[XML-SIG] [ pyxml-Bugs-469464 ] parser IndexError

noreply@sourceforge.net noreply@sourceforge.net
Tue, 09 Oct 2001 01:38:46 -0700


Bugs item #469464, was opened at 2001-10-09 01:38
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=469464&group_id=6473

Category: SAX
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: parser IndexError

Initial Comment:
Hi,

during the parse of the submitted xml file with the
'saxtrace.py Gloger_seq04_contour.xml' command, the
program runs into an error which seems not to be a xml
error. For your information: A parse of the same xml
file with IBM's xerces C++ xml parser runs without any
problems.

Regards

Joachim Gloger
 -------- the backtrace of python ----

File
"/usr/local/lib/python2.1/site-packages/_xmlplus/sax/drivers/drv_xmlproc.py",
line 31, in parse
    self.parser.parse_resource(sysID)
  File
"/usr/local/lib/python2.1/site-packages/_xmlplus/parsers/xmlproc/xmlutils.py",
line 77, in parse_resource
    self.read_from(infile,bufsize)
  File
"/usr/local/lib/python2.1/site-packages/_xmlplus/parsers/xmlproc/xmlutils.py",
line 137, in read_from
    self.feed(buf)
  File
"/usr/local/lib/python2.1/site-packages/_xmlplus/parsers/xmlproc/xmlutils.py",
line 185, in feed
    self.do_parse()
  File
"/usr/local/lib/python2.1/site-packages/_xmlplus/parsers/xmlproc/xmlproc.py",
line 96, in do_parse
    self.parse_start_tag()
  File
"/usr/local/lib/python2.1/site-packages/_xmlplus/parsers/xmlproc/xmlproc.py",
line 153, in parse_start_tag
    if self.data[self.pos]!=">" and
self.data[self.pos]!="/":
IndexError: string index out of range

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=469464&group_id=6473