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" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > 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:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>