From 2a17f9dd3f4820f2f98a5c8deb82a53193cc955e Mon Sep 17 00:00:00 2001 From: Jonathan Gallimore Date: Tue, 5 Dec 2023 14:37:02 +0000 Subject: [PATCH] TOMEE-4286 look at http:// in the namespace as well as https:// --- .../src/main/java/org/apache/openejb/jee/JaxbJavaee.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/JaxbJavaee.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/JaxbJavaee.java index 7b39e9e5704..487dfcd209f 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/JaxbJavaee.java +++ b/container/openejb-jee/src/main/java/org/apache/openejb/jee/JaxbJavaee.java @@ -352,7 +352,7 @@ public NoSourceFilter(final XMLReader xmlReader) { protected String eeUri(final String uri) { // if ee 7 or jakarta ee then switch back on ee 6 to not break compatibility - to rework surely when we'll be fully ee 7 or jakarta ee - if ("http://xmlns.jcp.org/xml/ns/javaee".equals(uri) || "https://jakarta.ee/xml/ns/jakartaee".equals(uri)){ + if ("http://xmlns.jcp.org/xml/ns/javaee".equals(uri) || "https://jakarta.ee/xml/ns/jakartaee".equals(uri) || "http://jakarta.ee/xml/ns/jakartaee".equals(uri)){ return "http://java.sun.com/xml/ns/javaee"; } return uri;