Issue1401509

classification
Title: minidom does not work
Type: Severity: normal
Components: Library Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: cgroves Nosy List: cgroves, erik_andersen, yanweng
Priority: low Keywords:

Created on 2006-01-10.12:38:07 by erik_andersen, last changed 2006-08-31.03:42:59 by cgroves.

Messages
msg1087 (view) Author: Erik Andersén (erik_andersen) Date: 2006-01-10.12:38:07
Jython 2.1 on java1.5.0_05 (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
>>> 
msg1088 (view) Author: Yan Weng (yanweng) Date: 2006-01-14.23:37:46
Logged In: YES 
user_id=404532

Please try Jython 2.2. Jython 2.1 does not officially
support Java 1.5. 
msg1089 (view) Author: Erik Andersén (erik_andersen) Date: 2006-02-01.12:18:52
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.
msg1090 (view) Author: Charlie Groves (cgroves) Date: 2006-08-31.03:42:59
Logged In: YES 
user_id=1174327

fixed in trunk
History
Date User Action Args
2006-01-10 12:38:07erik_andersencreate