gnosis XML objectify

Wang, Harry HWang at ciber.com
Mon Nov 26 15:33:37 EST 2007


Full Traceback enclosed:
 
Test Suite Started @ 2007-11-26 11:34:46.617000
Traceback (most recent call last):
  File "C:\UDR2\UDRxmlGateway.py", line 370, in <module>
    ParseAll()
  File "C:\UDR2\UDRxmlGateway.py", line 286, in ParseAll
    py_obj = gnosis.xml.objectify.XML_Objectify(InputFile).make_instance()
  File "C:\python25\Lib\site-packages\gnosis\xml\objectify\_objectify.py", line 160, in make_instance
    o = self.ParseFile(self._fh)
  File "C:\python25\Lib\site-packages\gnosis\xml\objectify\_objectify.py", line 190, in ParseFile
    self._myparser.ParseFile(file)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 68, column 0
 
Harry C. Wang
Sr. Test Engineer (Automation)
AOL Mobile
Phone 206 - 268 - 7502
temporary e-mail: hwang at ciber.com 
Personal e-mail: hcwang at comcast.net 

________________________________

From: python-list-bounces+hwang=ciber.com at python.org on behalf of kyosohma at gmail.com
Sent: Mon 11/26/2007 12:19 PM
To: python-list at python.org
Subject: Re: gnosis XML objectify



On Nov 26, 1:46 pm, "Wang, Harry" <HW... at ciber.com> wrote:
> The gnosis xml libs should not be version specific, but when I try to use Python 2.5, I am getting "not well formed (invalid token)" errors.
>
> Harry

When does this happen? When you import the module? When you pass it
some xml? Do you have a full traceback?

Mike
--
http://mail.python.org/mailman/listinfo/python-list





More information about the Python-list mailing list