Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JSP and the fly likes Error parsing TLD?! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Error parsing TLD?! " Watch "Error parsing TLD?! " New topic

Error parsing TLD?!

Yashnoo lyo
Ranch Hand

Joined: Feb 17, 2003
Posts: 152
Hi everyone:
I test my taglib file use JRun.I place the .tld and the .class in correct dir.But when I compile my jsp file testtag.jsp and JRun report the under error:
Error parsing TLD '/WEB-INF/taglib/mytag.tld': com.sun.xml.parser/P-082
org.xml.sax.SAXParseException: com.sun.xml.parser/P-082
at com.sun.xml.parser.Parser.fatal(
at com.sun.xml.parser.Parser.externalParameterEntity(
at com.sun.xml.parser.Parser.maybeDoctypeDecl(
at com.sun.xml.parser.Parser.parseInternal(
at com.sun.xml.parser.Parser.parse(
at com.sun.xml.parser.DocumentBuilderImpl.parse(
at javax.xml.parsers.DocumentBuilder.parse(
at allaire.jrun.jsp.JRunTagLibraryInfo.<init>(../jsp/
at allaire.jrun.jsp.JRunTagLibraryInfo.lookupTLI(../jsp/
at allaire.jrun.jsp.JSPParser.taglibDirective(../jsp/
at allaire.jrun.jsp.JSPParser.directive(../jsp/
at allaire.jrun.jsp.JSPParser.parse(../jsp/
.. ...... ........ ... . ....... ........
It seems the .dtd problem.But I download the .dtd1.2 from sun for my JRun and the problem remain happen! I open it with xmlwriter.It report error when I run it.It says:
DTD can't have DTD declare in external DTDhandle source: 'file:///E:/JRun/lib/web-jsptaglibrary_1_2.dtd' a error happennineteen rangelocation: 12
<!NOTATION WEB-JSPTAGLIB.1_2 PUBLIC "-//Sun ....-------------^
What does it mean?Could anyone explanation for me? :roll:

When I face C# and Java I choose Java.
I agree. Here's the link:
subject: Error parsing TLD?!
It's not a secret anymore!