[
https://issues.apache.org/jira/browse/TOMEE-4651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Markus Jung updated TOMEE-4651:
-------------------------------
Description:
Jakarta Tags 3.0 replaces the old JSTL jar. Its TLD files declare URIs under
the jakarta.tags._ namespace. TomEE and Tomcat do not expose these URIs to
applications, so any JSP page that declares a taglib with a jakarta.tags._ URI
fails at JSP compile time.
This breaks all 50 Jakarta Tags 3.0 TCK test classes. It also breaks the
EJB-Lite JSP vehicles, which use the same tags and fail as a side effect.
The TCK's own compatibility class hits the same problem. Of its 38 methods,
only one avoids a jakarta.tags.* URI; the other 37 fail for the same reason.
h2. Steps to reproduce / TCK reference
Run the Jakarta Tags 3.0 TCK against TomEE 11. All ~50 test classes fail, plus
the EJB-Lite JSP vehicle tests, including:
* {{**/jstl/**/JSTLClientIT.java}}
These are currently excluded in {{runner-webprofile/exclusions/tags.txt}} in
the apache/tomee-tck harness repo. Once TomEE registers the jakarta.tags.* TLD
URIs, remove this exclusion and rerun the suite to confirm the classes pass.
was:
h2. Description
Jakarta Tags 3.0 replaces the old JSTL jar. Its TLD files declare URIs under
the jakarta.tags._ namespace. TomEE and Tomcat do not expose these URIs to
applications, so any JSP page that declares a taglib with a jakarta.tags._ URI
fails at JSP compile time.
This breaks all 50 Jakarta Tags 3.0 TCK test classes. It also breaks the
EJB-Lite JSP vehicles, which use the same tags and fail as a side effect.
The TCK's own compatibility class hits the same problem. Of its 38 methods,
only one avoids a jakarta.tags.* URI; the other 37 fail for the same reason.
h2. Steps to reproduce / TCK reference
Run the Jakarta Tags 3.0 TCK against TomEE 11. All ~50 test classes fail, plus
the EJB-Lite JSP vehicle tests, including:
* {{**/jstl/**/JSTLClientIT.java}}
These are currently excluded in {{runner-webprofile/exclusions/tags.txt}} in
the apache/tomee-tck harness repo. Once TomEE registers the jakarta.tags.* TLD
URIs, remove this exclusion and rerun the suite to confirm the classes pass.
> TomEE does not register jakarta.tags.* TLD URIs, breaking all Jakarta Tags 3.0
> ------------------------------------------------------------------------------
>
> Key: TOMEE-4651
> URL: https://issues.apache.org/jira/browse/TOMEE-4651
> Project: TomEE
> Issue Type: Bug
> Components: TomEE Core Server
> Reporter: Markus Jung
> Priority: Major
>
> Jakarta Tags 3.0 replaces the old JSTL jar. Its TLD files declare URIs under
> the jakarta.tags._ namespace. TomEE and Tomcat do not expose these URIs to
> applications, so any JSP page that declares a taglib with a jakarta.tags._
> URI fails at JSP compile time.
> This breaks all 50 Jakarta Tags 3.0 TCK test classes. It also breaks the
> EJB-Lite JSP vehicles, which use the same tags and fail as a side effect.
> The TCK's own compatibility class hits the same problem. Of its 38 methods,
> only one avoids a jakarta.tags.* URI; the other 37 fail for the same reason.
> h2. Steps to reproduce / TCK reference
> Run the Jakarta Tags 3.0 TCK against TomEE 11. All ~50 test classes fail,
> plus the EJB-Lite JSP vehicle tests, including:
> * {{**/jstl/**/JSTLClientIT.java}}
> These are currently excluded in {{runner-webprofile/exclusions/tags.txt}} in
> the apache/tomee-tck harness repo. Once TomEE registers the jakarta.tags.*
> TLD URIs, remove this exclusion and rerun the suite to confirm the classes
> pass.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)