Message4180
Included is a simple testcase that fails in the latest SVN versions.
Applying the patch fixes the error. The following error is displayed:
Traceback (most recent call last):
File "test_parseString.py", line 6, in <module>
xml = parseString(data)
File "/Users/fdb/Java/jython-svn/dist/Lib/xml/dom/minidom.py", line
1933, in parseString
return _do_pulldom_parse(pulldom.parseString, (string,),
File "/Users/fdb/Java/jython-svn/dist/Lib/xml/dom/minidom.py", line
1908, in _do_pulldom_parse
toktype, rootNode = events.getEvent()
File "/Users/fdb/Java/jython-svn/dist/Lib/xml/dom/pulldom.py", line
275, in _slurp
self.parser.parse(self.stream)
File
"/Users/fdb/Java/jython-svn/dist/Lib/xml/sax/drivers2/drv_javasax.py",
line 143, in parse
self._parser.parse(JyInputSourceWrapper(source))
File
"/Users/fdb/Java/jython-svn/dist/Lib/xml/sax/drivers2/drv_javasax.py",
line 92, in resolveEntity
return JyInputSourceWrapper(self._resolver.resolveEntity(pubId, sysId))
File
"/Users/fdb/Java/jython-svn/dist/Lib/xml/sax/drivers2/drv_javasax.py",
line 77, in __init__
if source.getByteStream():
AttributeError: 'unicode' object has no attribute 'getByteStream' |
|
Date |
User |
Action |
Args |
2009-03-06 11:15:00 | fdb | set | messageid: <1236338100.17.0.386540236292.issue1268@psf.upfronthosting.co.za> |
2009-03-06 11:15:00 | fdb | set | recipients:
+ fdb |
2009-03-06 11:15:00 | fdb | link | issue1268 messages |
2009-03-06 11:14:59 | fdb | create | |
|