tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rashmi Rubdi <>
Subject Re: Content is not allowed in prolog. - text editor for Windows XP that shows special characters before the prolog
Date Mon, 24 Jul 2006 08:34:22 GMT
I have created a test war file: text_xml.war_temp and have uploaded it here
  File should be renamed to text_xml.war after downloading it, and can be accessed from http://localhost:8080/text_xml/
  I changed the schema in web.xml to 
  <web-app version="2.4"
  Now, I'm not getting "Content is not allowed in prolog" error anymore, and no other exceptions
are occuring at <x:parse doc="${xml}" var="doc" /> .
  But when I try the xpath selection with <x:out select="$doc/test/value"/> I get another
error: java.lang.NoClassDefFoundError: org/apache/xpath/XPathException
  This error can be seen from the WAR file specified in this mail. 
  I think the main issue with "Content is not allowed in prolog." is solved, I just had make
everything conform to the latest JSTL and dependent specifications.
In my main project I added Xalan.jar but still getting the XPathException
  -Thank you for your help
Hassan Schroeder <> wrote:
  Rashmi Rubdi wrote:

> ... but I still get the error 
> SAXParseException: Content is not allowed in prolog.

Can you create a simple test case WAR that demonstrates the error?
If so, post it somewhere and we can take a look...

Hassan Schroeder -----------------------------
Webtuitive Design === (+1) 408-938-0567 ===

dream. code.

To unsubscribe, e-mail:
For additional commands, e-mail:

Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail Beta.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message