You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Laurent Michenaud <lm...@adeuza.fr> on 2002/07/18 09:52:43 UTC

Taglib with Tomcat 3.3.1

Hi,

I'm trying to use taglib with Tomcat 3.3.1 but 
i've got these errors :

Warning: validation was turned on but an org.xml.sax.ErrorHandler was
not
set, which is probably not what is desired.  Parser will use a default
ErrorHandler to print the first 10 errors.  Please call
the 'setErrorHandler' method to fix this.
Error: URI=null Line=8: Element "taglib" does not allow "uri" here.
Error: URI=null Line=9: Element "taglib" does not allow "info" here.
Error: URI=null Line=10: Element "taglib" does not allow "tag" here.
Error: URI=null Line=12: Element "tag" does not allow "tag-class" here.
Error: URI=null Line=12: Element type "tag-class" is not declared.
Error: URI=null Line=13: Element "tag" does not allow "info" here.
Error: URI=null Line=14: Element "tag" does not allow "attribute" here.
Error: URI=null Line=19: Element "tag" requires additional elements.
Error: URI=null Line=20: Element "taglib" does not allow "tag" here.
Error: URI=null Line=22: Element "tag" does not allow "tag-class" here.

In the tld, i use the following header :
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
  "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">

And in server.xml, i have these two lines :
<WebXmlReader validate="true" />
<ErrorHandler showDebugInfo="true" />

Any ideas ?
Michenaud Laurent
- Adeuza -
[ Développeur Web - Administrateur Réseau ]


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>