Is it possible to build many documents at the same time (many threads) using the same instance of SAXDocumentFactory?

I've tried to build my ExtendedDocumentLoader which could share documents across many JSVGCanvas-es, but I get strange exceptions such as:
java.lang.NullPointerException

at org.apache.batik.dom.util.SAXDocumentFactory.startElement(SAXDocumentFactory.java:556)

Should I create many instances of SAXDocumentFactory in my DocumentLoader extension? Is this class lightweight or is it expensive to create many instances of it?

Thanks in advance.
Lukasz


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to