You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by um...@comcast.net on 2007/12/06 07:04:52 UTC
[Tomcat 6.0.14] TLD Parse errors
Environment:
bin$ sh version.sh
//...
Server version: Apache Tomcat/6.0.14
Server built: Jul 20 2007 04:17:30
Server number: 6.0.14.0
OS Name: Linux
OS Version: 2.6.17-1.2630.fc6
Architecture: i386
JVM Version: 1.6.0-b105
JVM Vendor: Sun Microsystems Inc.
Problem:
I am running Tomcat as shown above and my webapp uses JSTL1.1. As the context starts up,
the log shows a number of fatal parse errors as shown below. These seem to stem from parsing
WEB-INF/tld/c.tld which comes from StandardTaglib1.1.
"Dec 5, 2007 9:22:16 PM org.apache.tomcat.util.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 4 column 55: parsing initialization error: org.gjt.xpp.XmlPullParserException: <![DOCTYPE declarations not supported at line 4 and column 55 seen "..."\r\n "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd""... (parser state UNKNONW_EVENT (-1))
org.gjt.xpp.XmlPullParserException: <![DOCTYPE declarations not supported at line 4 and column 55 seen "..."\r\n "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd""... (parser state UNKNONW_EVENT (-1))..."
Could this be happening because of an incompatible version of XML parse? I have xerces?
Pl help!
/U
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: [Tomcat 6.0.14] TLD Parse errors
Posted by David Smith <dn...@cornell.edu>.
The package name "org.gjt.xpp" looks really fishy. Where did you get
this XML parser? It's not part of Sun's JDK that I know anything about.
--David
uma_rk@comcast.net wrote:
> Environment:
> bin$ sh version.sh
> //...
> Server version: Apache Tomcat/6.0.14
> Server built: Jul 20 2007 04:17:30
> Server number: 6.0.14.0
> OS Name: Linux
> OS Version: 2.6.17-1.2630.fc6
> Architecture: i386
> JVM Version: 1.6.0-b105
> JVM Vendor: Sun Microsystems Inc.
>
> Problem:
> I am running Tomcat as shown above and my webapp uses JSTL1.1. As the context starts up,
> the log shows a number of fatal parse errors as shown below. These seem to stem from parsing
> WEB-INF/tld/c.tld which comes from StandardTaglib1.1.
>
> "Dec 5, 2007 9:22:16 PM org.apache.tomcat.util.digester.Digester fatalError
> SEVERE: Parse Fatal Error at line 4 column 55: parsing initialization error: org.gjt.xpp.XmlPullParserException: <![DOCTYPE declarations not supported at line 4 and column 55 seen "..."\r\n "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd""... (parser state UNKNONW_EVENT (-1))
> org.gjt.xpp.XmlPullParserException: <![DOCTYPE declarations not supported at line 4 and column 55 seen "..."\r\n "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd""... (parser state UNKNONW_EVENT (-1))..."
>
>
> Could this be happening because of an incompatible version of XML parse? I have xerces?
>
> Pl help!
>
> /U
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org