Hi,

When I used the xml to parse a document loaded from server, I got the following error message. Could anybody tell what's wrong with that?

thanks,

File "ShowAllData.py", line 143, in ?
main(sys.argv)
File "ShowAllData.py", line 117, in main
win = MainWindow()
File "ShowAllData.py", line 48, in __init__
videoInfo = CaMLDocumentParser.getVideoInfo(GenericParser.parse(StringIO(result)))
File "/home/vraid1/mzhang/CaMLServer3/lib/GenericParser.py", line 39, in parse
xml.sax.parse (file, g)
File "/usr/lib/python2.2/site-packages/_xmlplus/sax/__init__.py", line 31, in parse
parser.parse(filename_or_stream)
File "/usr/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.2/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py", line 220, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python2.2/site-packages/_xmlplus/sax/handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: <unknown>:1:0: not well-formed (invalid token)


_______________________________________________
XML-SIG maillist  -  XML-SIG@python.org
http://mail.python.org/mailman/listinfo/xml-sig

Reply via email to