Message4180

Author fdb
Recipients fdb
Date 2009-03-06.11:14:59
SpamBayes Score 2.55788e-05
Marked as misclassified No
Message-id <1236338100.17.0.386540236292.issue1268@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2009-03-06 11:15:00fdbsetmessageid: <1236338100.17.0.386540236292.issue1268@psf.upfronthosting.co.za>
2009-03-06 11:15:00fdbsetrecipients: + fdb
2009-03-06 11:15:00fdblinkissue1268 messages
2009-03-06 11:14:59fdbcreate