tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier Urbaneja Fan" <urbanej...@hotmail.com>
Subject Re: Tomcat and JSP Custom Tags
Date Mon, 29 Apr 2002 16:23:03 GMT
I can change 1.1 to 1.2 in that tag, but if I change the name of the tag
from jspversion (or tlibversion, etc) to jsp-version (tlib-version,...),
these last names adjusting to the DTD 1.2, the Tomcat launches a Parse Error
while starting and the webapp doesn't work.
In fact, the next tag has a combination that shouldn't work:
<jspversion>1.2</jspversion> because the tag in 1.2 should be named
jsp-version. It works, however. This makes me think Tomcat always validates
the TLDs against the 1.1 DTD (at least by default).
Besides, all working TLDs I have found (Jakarta Taglibs and Struts, for
example) validate against the 1.1 DTD.
I'm interested in this topic because we use XML-Spy as TLD editor, and is
very useful having the correct DTD assigned.

----- Original Message -----
From: "James Williamson" <james@nameonthe.net>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Monday, April 29, 2002 4:21 PM
Subject: Re: Tomcat and JSP Custom Tags


> Javier,
>
> There's a jspversion element within the tag descriptor file, you need to
> change it to 1.2
>
> James
>
> www.nameonthe.net
> UK Tomcat Hosting
>
> ----- Original Message -----
> From: Javier Urbaneja Fan <urbanejarl@hotmail.com>
> To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> Sent: Monday, April 29, 2002 12:35 PM
> Subject: Tomcat and JSP Custom Tags
>
>
> Where I can tell Tomcat which DTD to use in validating my TLDs?
> I'm using Tomcat 4.0.3 and it´s using the older version
> (web-jsptaglibrary_1_1.dtd) instead of the 1.2.
> I see both DTDs are included in the Tomcat's servlet.jar.
> My web.xml is already validating against the Servlet 2.3 DTD.
>
> Javier
>
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message