Message6943

Author amak
Recipients amak, kwatford
Date 2012-03-20.22:59:17
SpamBayes Score 1.6683007e-06
Marked as misclassified No
Message-id <1332284357.28.0.788369627031.issue1537@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry, I wasn't clear myself. I understand that the XMLReader seems to be using a different classloader.

As for your solution

try:
    self._reader = XMLReaderFactory.createXMLReader(_xerces_parser)
except:
    self._reader = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser")

I'm glad that it works. However, I'd prefer not to use a bare except clause.

I need to think about the appropriate solution to this.

Thanks for taking the time to dig into it.
History
Date User Action Args
2012-03-20 22:59:17amaksetmessageid: <1332284357.28.0.788369627031.issue1537@psf.upfronthosting.co.za>
2012-03-20 22:59:17amaksetrecipients: + amak, kwatford
2012-03-20 22:59:17amaklinkissue1537 messages
2012-03-20 22:59:17amakcreate