Hi,
I am practising tag libraries. This is a small web applictation which connects to database and inserts or updates the database. Everything is find but the problem is with the custom tag library file.
this is a custom tag library tld file.
customLib.tld
============
<? xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD
JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>2.0<tlib-version>
<jsp-version>1.2</jsp-version>
<short-name></short-name>
<uri></uri>
<description>Tag Libraries Examples</description>
<tag>
<name>ifValidEmailAddr</name>
<tag-class>org.library.tags.implementation.EmailAddressValid</tag-class>
<body-content>JSP</body-content>
<description>allows to connect to database</description>
<attribute>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>var</name>
<required>false</required>
</attribute>
<attribute>
<name>scope</name>
<required>false</required>
</attribute>
</tag>
</taglib>
the compiler is reporting the <taglib> must terminate with the end tag </taglib> but the end tag is there. I'm not understanding what compiler is telling. Please help me...
Thanks & Regards,
sathish.g.