Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

TagLibValidator returns error(s) for taglib ( [http://java.sun.com/jstl/core] )

Hello all,

i am trying to use the JSTL taglibs on a NW 7.3x machine, but I am getting a mysterious error message.

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

The Taglibs are correctly included, the jar files are within the classpath and still having this strange error message

Caused by: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: TagLibValidator returns error(s) for taglib ( [http://java.sun.com/jstl/core] ): [

    org.xml.sax.SAXParseException: The element type "jsp:text" must be terminated by the matching end-tag "</jsp:text>".

    ]

Does anyone now why?

Regards,

Andreas

Former Member
Former Member replied

Hi,

i found the issue, which seams to be a Bug

It looks like the compliation always fails if anywhere in the HTML code a "CDATA" is defined. I did remove all those <![CDATA ... comments and it worked.

Regards,

Andreas

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question