https://issues.apache.org/bugzilla/show_bug.cgi?id=33447





--- Comment #4 from Dan Bennett <[email protected]>  2009-04-21 
12:12:08 PST ---
Created an attachment (id=23523)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23523)
Patched copy of SAXDocumentFactory

Here's a patch for this bug. 

Basically, the NPE is caused because the parser member variable is not set by
createDocument if the transcoder is created using an XMLReader. I added 1 line
at line 308, first line in  public Document createDocument(String ns, String
root, String uri, XMLReader r)  

parser = r;

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to