Re: External entity in XML causing null pointer exception during DocumentBuilder.parse

2009-12-04 Thread Michael Glavassevich
I already responded to you. See [1]. [1] http://markmail.org/message/2qzf4yeeg5iy5o7e. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org sri kumar wrote on 12/04/2009 07:18:28 AM: > I was trying to parse a XML Document using DOM

External entity in XML causing null pointer exception during DocumentBuilder.parse

2009-12-04 Thread sri kumar
I was trying to parse a XML Document using DOM Parser. I got null pointer exception while executing doc = builder.parse(xmlDataFile); There were few entities in the XML data file. On removing a particular entity, i was able to parse the file successfully The entity was some thing like this