This is an automated email from the ASF dual-hosted git repository.

jgallimore pushed a commit to branch tomee-9.x
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/tomee-9.x by this push:
     new 5b9dd0d34d TOMEE-4286 look at http:// in the namespace as well as 
https://
5b9dd0d34d is described below

commit 5b9dd0d34dd03efed4e82bd0301444e5889917ff
Author: Jonathan Gallimore <j...@jrg.me.uk>
AuthorDate: Tue Dec 5 14:37:02 2023 +0000

    TOMEE-4286 look at http:// in the namespace as well as https://
---
 .../openejb-jee/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 7b39e9e570..487dfcd209 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 class JaxbJavaee {
 
         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;

Reply via email to