Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

SAX warnings when compiling JSPs using Taglibs - 5.0.30

Jean-Francois Beaulac

2005-08-11


Hi,

I don't know when this started to happen but suddenly those warning messages
started to show up every time a JSP page is compiled. Has anyone got these
message before, if yes how do we get rid of these?

ParserUtils: warning org.xml.sax.SAXParseException: URI was not reported to
parser for entity [document]
ParserUtils: warning org.xml.sax.SAXParseException: No base URI; hope URI is
absolute: <http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd>
http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd
ParserUtils: warning org.xml.sax.SAXParseException: No base URI; hope this
SYSTEM id is absolute: <http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd>
http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd
ParserUtils: warning org.xml.sax.SAXParseException: URI was not reported to
parser for entity [dtd]
ParserUtils: warning org.xml.sax.SAXParseException: missing system ID, using
<http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd>
http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd

Here is a snippet from my tld file :
<?xml version="1.0" encoding="UTF-8" ?>

<!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>1.0</tlib-version>
  <jsp-version>1.2</jsp-version>
  <short-name>flow_taglib</short-name>
  <uri>/flow_taglib</uri>
  <display-name>flow_taglib</display-name>

  <description>Taglib to simplify flow2 layout</description>
........
</taglib>

and this is how in load the taglib in the JSPs files:
<%@(protected)"%>

Thanks

--
Jean-Francois Beaulac
jean-francois.beaulac@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.