Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jan 08, 2015 at 01:01 AM

    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

    Add comment
    10|10000 characters needed characters exceeded