You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jg...@apache.org on 2023/12/05 14:37:47 UTC

(tomee) branch main updated: TOMEE-4286 look at http:// in the namespace as well as https://

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 2a17f9dd3f TOMEE-4286 look at http:// in the namespace as well as https://
2a17f9dd3f is described below

commit 2a17f9dd3f4820f2f98a5c8deb82a53193cc955e
Author: Jonathan Gallimore <jo...@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;