[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Tranforming XML document in tomcat...

Subject: Tranforming XML document in tomcat...
From: Arulraj <p_arulraj@xxxxxxxxx>
Date: Tue, 13 Jul 2004 02:30:50 -0700 (PDT)
org.apache.xalan.transformer.transformerimpl.fatal
Hello,
  I am tranforming XML document to someother text file
using Xalan in Tomcat 5.0.25 server.

I got the following error;
HTTP Status 500 - 

--------------------------------------------------------------------------------

type Exception report

message 

description The server encountered an internal error
() that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: Content is not allowed
in prolog.

test.TransformXmlmulti.doPost(TransformXmlmulti.java:54)

javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


root cause 

javax.xml.transform.TransformerException: Content is
not allowed in prolog.

org.apache.xalan.transformer.TransformerImpl.fatalError(TransformerImpl.java:744)

org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:720)

org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1192)

org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1170)

test.TransformXmlmulti.doPost(TransformXmlmulti.java:46)

javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

Can you find out when this expcetion occur?

Regards,
Arul


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.