Skip to content

Commit

Permalink
TOMEE-4286 look at http:// in the namespace as well as https://
Browse files Browse the repository at this point in the history
  • Loading branch information
jgallimore committed Dec 5, 2023
1 parent 0d60466 commit 5b9dd0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5b9dd0d

Please sign in to comment.