Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

org.xml.sax.SAXParseException: Content is not allowed in prolog.

807603Sep 29 2006 — edited Jan 26 2008
Iam having a perl file.on executing iam passing following variables to a java file:

my $uploadFileName='./PALM#862.SQL';
my $uploadPomName='./pdnUploadXmlPomSpec.pom.xml';
my $userName='chris@infoapps.com';
my $password='pip!admin';

on the java file iam calling a method to parse tthe above XML file iam getting an exception org.xml.sax.SAXParseException: Content is not allowed in prolog.

The xml file contains the details of the file to be uploaded.

This functionality is working when i pass those variables through a JSP/HTML file.

Please advise
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 23 2008
Added on Sep 29 2006
8 comments
671 views