cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

problem in parsing an xml using DOM parser.

Former Member
0 Kudos
270

Hi,

I have created an action block for client.

it takes a xml file present on D drive and generates a pdf by parsing the xml file.

My code was working perfectly fine till yesterday.

But now i getting , [INFO ]: Error-- Premature end of file. org.xml.sax.SAXParseException: Premature end of file.

But xml is perfectly fine. Also the code work from eclipse.

Need some inputs on this.

Regards,

Vishal Jadhav

Edited by: vishal jadhav on Jan 23, 2009 9:49 AM

View Entire Topic
Former Member
0 Kudos

I suspect that if it was working but now has issues, there may have been changes to the file/directory security? That would be the first thing I'd check. Also, it sounds trivial, but if you look at the file itself, has it been corrupted?

Former Member
0 Kudos

Thanks for the quick reply...

The issue is resolved.

The code is working fine now....

What I was doing in the code was passing the xml and pdf file paths.

The paths got interchanged....

Sorry for any inconvenience caused....