Skip to Content
0
Former Member
Dec 07, 2006 at 03:57 PM

ParseException TagLibValidator

29 Views

Hi everybody

I am having a ParseException after executing a web application in the WAS 7.0 SP 8.0

I am using a taglib in all my jsp's, e.g.

<b><%@taglib uri="/WEB-INF/c.tld" prefix="c"%></b>

<%response.setHeader("Cache-Control", "no-cache"); //HTTP 1.1

response.setHeader("Pragma", "no-cache"); //HTTP 1.0

response.setDateHeader("Expires", 0); //prevents caching at the proxy server

%>

<html>

......

after deploying and trying to execute the app I got the following error in the display:

<b>Application error occurs during request processing.

Internal error while parsing JSP page [L:/usr/sap/WP1/DVEBMGS01/j2ee/cluster/server0/apps/sap.com/reporteEAR/servlet_jsp/ReporteDex/root/login.jsp].

Details: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.ParseException: TagLibValidator returns error(s) for taglib [/WEB-INF/c.tld]: [

com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 6c(:main:, row:49, col:41)(:main:, row=49, col=41) -> com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 6c(:main:, row:49, col:41)

].</b>

My application was developed and tested using Eclipse and deploying in a Tomcat web server.

But when I migrated to NWDS and then deployed I got that error. Is there any problem with the parser? or do I have to change something in the DS or WAS for deploying my app?

I deleted this tag form the web.xml:

<b><taglib>

<taglib-uri>/WEB-INF/c.tld</taglib-uri>

<taglib-location>/WEB-INF/c.tld</taglib-location>

</taglib></b>

and It worked fine for the login page, then it crashed :s

Can anybody please help me or have a clue of what to do in this case?

It is really urgent

Regards and thanks ini advance

Gino Arias