|
|
Hi,
I am having a problem with the XML parser used by a webapp. The problem is
that Jasper using xerces XML parser to pass a taglib file (one that ends
with ".tld").. but for some reason xerces return a doc node that is wrapped
by "<HTML><HEAD>..</HEAD></HTML>".. any idea why?? The taglib file looks
something like this:
<?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">
<taglib xmlns="http://java.sun.com/xml/ns/j2ee" version="2.0">
<tlib-version>1.0</tlib-version>
.....
Here is the error I get:
[WARN] TagLibraryInfoImpl - Unknown element (HEAD) in taglib
[ERROR] [jsp] - Servlet.service() for servlet jsp threw exception
<org.apache.jasper.JasperException: Mandatory TLD element missing or empty:
tlib-version>org.apache.jasper.JasperException: Mandatory TLD element
missing or empty: tlib-version
thanks.
Ron
--
View this message in context:
http://www.nabble.com/Wrapped-by-%3CHTML%3E--tp24508201p24508201.html
Sent from the Xerces - J - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: j-users-help@xxxxxxxxxxxxxxxxx
|
|