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

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


The following commit(s) were added to refs/heads/10.0.x by this push:
     new 4ea6233  Update schema used in web-fragments
4ea6233 is described below

commit 4ea6233daab181ea36aca38b775ca0f3ccfe92e8
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue May 25 16:28:47 2021 +0100

    Update schema used in web-fragments
---
 res/META-INF/jasper-el.jar/web-fragment.xml        |  8 ++++----
 res/META-INF/jasper.jar/web-fragment.xml           |  8 ++++----
 res/META-INF/tomcat-websocket.jar/web-fragment.xml | 12 ++++++------
 webapps/docs/changelog.xml                         |  9 +++++++++
 4 files changed, 23 insertions(+), 14 deletions(-)

diff --git a/res/META-INF/jasper-el.jar/web-fragment.xml 
b/res/META-INF/jasper-el.jar/web-fragment.xml
index 26b2e6c..6769e6f 100644
--- a/res/META-INF/jasper-el.jar/web-fragment.xml
+++ b/res/META-INF/jasper-el.jar/web-fragment.xml
@@ -15,11 +15,11 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<web-fragment xmlns="http://xmlns.jcp.org/xml/ns/javaee";
+<web-fragment xmlns="https://jakarta.ee/xml/ns/jakartaee";
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-              xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
-                      http://xmlns.jcp.org/xml/ns/javaee/web-fragment_4_0.xsd";
-              version="4.0"
+              xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee
+                      https://jakarta.ee/xml/ns/jakartaee/web-fragment_5_0.xsd";
+              version="5.0"
               metadata-complete="true">
     <name>org_apache_jasper_el</name>
     <distributable/>
diff --git a/res/META-INF/jasper.jar/web-fragment.xml 
b/res/META-INF/jasper.jar/web-fragment.xml
index 24ecb31..0e7f4dc 100644
--- a/res/META-INF/jasper.jar/web-fragment.xml
+++ b/res/META-INF/jasper.jar/web-fragment.xml
@@ -15,11 +15,11 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<web-fragment xmlns="http://xmlns.jcp.org/xml/ns/javaee";
+<web-fragment xmlns="https://jakarta.ee/xml/ns/jakartaee";
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-              xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
-                      http://xmlns.jcp.org/xml/ns/javaee/web-fragment_4_0.xsd";
-              version="4.0"
+              xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee
+                      https://jakarta.ee/xml/ns/jakartaee/web-fragment_5_0.xsd";
+              version="5.0"
               metadata-complete="true">
     <name>org_apache_jasper</name>
     <distributable/>
diff --git a/res/META-INF/tomcat-websocket.jar/web-fragment.xml 
b/res/META-INF/tomcat-websocket.jar/web-fragment.xml
index f912fb1..6a2d315 100644
--- a/res/META-INF/tomcat-websocket.jar/web-fragment.xml
+++ b/res/META-INF/tomcat-websocket.jar/web-fragment.xml
@@ -15,12 +15,12 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<web-fragment xmlns="http://xmlns.jcp.org/xml/ns/javaee";
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-  xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
-                      http://xmlns.jcp.org/xml/ns/javaee/web-fragment_4_0.xsd";
-  version="4.0"
-  metadata-complete="true">
+<web-fragment xmlns="https://jakarta.ee/xml/ns/jakartaee";
+              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+              xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee
+                      https://jakarta.ee/xml/ns/jakartaee/web-fragment_5_0.xsd";
+              version="5.0"
+              metadata-complete="true">
   <name>org_apache_tomcat_websocket</name>
   <distributable/>
 </web-fragment>
\ No newline at end of file
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index ea8d6df..afe93b3 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -161,6 +161,11 @@
         a tag handler, only define the local variable <code>JspWriter 
out</code>
         when it is going to be used. (markt)
       </fix>
+      <update>
+        Update the <code>web-fragment.xml</code> included in
+        <code>jasper.jar</code> and <code>jasper-el.jar</code> to use the
+        Servlet 5.0 schema. (markt)
+      </update>
     </changelog>
   </subsection>
   <subsection name="WebSocket">
@@ -171,6 +176,10 @@
         size was an exact multiple of 8192. Based on a patch provided by 
Saksham
         Verma. (markt)
       </fix>
+      <update>
+        Update the <code>web-fragment.xml</code> included in
+        <code>tomcat-websocket.jar</code>to use the Servlet 5.0 schema. (markt)
+      </update>
     </changelog>
   </subsection>
   <subsection name="Web applications">

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to