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

rmaucher pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 131c30493713d036714cfc3147056e7946930273
Author: opencode <[email protected]>
AuthorDate: Wed Oct 14 12:12:21 2026 +0200

    Fix missing path separator in XmlIdentifiers.WEBSERVICES_12_XSD
    
    The constant concatenated the Java EE 5 namespace and the schema file
    name without the '/' separator, producing the malformed URL
    http://java.sun.com/xml/ns/javaeejavaee_web_services_1_2.xsd instead of
    http://java.sun.com/xml/ns/javaee/javaee_web_services_1_2.xsd used by
    the specification and by DigesterFactory when registering the schema.
    
    The constant is currently unreferenced - DigesterFactory registers the
    web services schemas via bare file names - so there is no functional
    impact today. The correction removes a latent copy-paste defect from
    this public constants class and aligns the value with all sibling
    constants, which use the namespace plus "/filename".
---
 java/org/apache/tomcat/util/descriptor/XmlIdentifiers.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/descriptor/XmlIdentifiers.java 
b/java/org/apache/tomcat/util/descriptor/XmlIdentifiers.java
index 7ee424da70..f1eac5b240 100644
--- a/java/org/apache/tomcat/util/descriptor/XmlIdentifiers.java
+++ b/java/org/apache/tomcat/util/descriptor/XmlIdentifiers.java
@@ -105,7 +105,7 @@ public final class XmlIdentifiers {
     /**
      * Web Services 1.2 XSD.
      */
-    public static final String WEBSERVICES_12_XSD = JAVAEE_5_NS + 
"javaee_web_services_1_2.xsd";
+    public static final String WEBSERVICES_12_XSD = JAVAEE_5_NS + 
"/javaee_web_services_1_2.xsd";
 
     // from JavaEE 6
     /**


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to