Message5323

Author lukasz.heldt
Recipients fdb, fwierzbicki, lukasz.heldt, ssteiner
Date 2009-11-24.13:06:13
SpamBayes Score 0.00042230397
Marked as misclassified No
Message-id <1259067974.01.0.1733189484.issue1268@psf.upfronthosting.co.za>
In-reply-to
Content
I have come across the same bug when trying to actually use the external
DTD functionality. After attaching following line into my XML file:

<!DOCTYPE common SYSTEM "common.dtd">

I got the error mentioned by Frederik. Luckily there is an easy fix for
this issue. Following line in JyInputSourceWrapper needs to be changed from:
        if isinstance(source, str):
            javasax.InputSource.__init__(self, source)
to:
        if isinstance(source, str) or isinstance(source, unicode):
            javasax.InputSource.__init__(self, source)
History
Date User Action Args
2009-11-24 13:06:14lukasz.heldtsetmessageid: <1259067974.01.0.1733189484.issue1268@psf.upfronthosting.co.za>
2009-11-24 13:06:14lukasz.heldtsetrecipients: + lukasz.heldt, fwierzbicki, fdb, ssteiner
2009-11-24 13:06:13lukasz.heldtlinkissue1268 messages
2009-11-24 13:06:13lukasz.heldtcreate