Message1089

Author erik_andersen
Recipients
Date 2006-02-01.12:18:52
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=364358

The same error with Java 1.4

Jython 2.1 on java1.4.2_09 (JIT: null)
Type "copyright", "credits" or "license" for more 
information.
>>> >>> import xml.dom.minidom
>>> xml.dom.minidom.parseString("<x>aaa</x>")
Traceback (innermost last):
  File "<console>", line 1, in ?
  File "/export/home/erik/jython-2.1/Lib/xml/dom/minidom.
py", line 913, in parseString
  File "/export/home/erik/jython-2.1/Lib/xml/dom/minidom.
py", line 900, in _doparse
  File "C:\download\jython-2.1\Lib\xml\dom\pulldom.py", line 
251, in getEvent
AttributeError: feed
>>> xml.dom.minidom.parse('c:/temp/test.xml')
Traceback (innermost last):
  File "<console>", line 1, in ?
  File "/export/home/erik/jython-2.1/Lib/xml/dom/minidom.
py", line 908, in parse
  File "/export/home/erik/jython-2.1/Lib/xml/dom/minidom.
py", line 900, in _doparse
  File "C:\download\jython-2.1\Lib\xml\dom\pulldom.py", line 
251, in getEvent
AttributeError: feed
>>> 

In Jython 2.2, the xml package is not included.
History
Date User Action Args
2008-02-20 17:17:27adminlinkissue1401509 messages
2008-02-20 17:17:27admincreate