cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (0)