You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/09/23 13:46:16 UTC

[tomcat] branch main updated: Schema update. Remove same-site attribute added in error

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 5937fdd  Schema update. Remove same-site attribute added in error
5937fdd is described below

commit 5937fddb074a65df202b2aa0b274018c84e2e016
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Sep 23 14:46:01 2021 +0100

    Schema update. Remove same-site attribute added in error
    
    A generic attribute API was added that needs to be replicated into
    web.xml
---
 java/jakarta/servlet/resources/web-common_6_0.xsd | 37 -----------------------
 1 file changed, 37 deletions(-)

diff --git a/java/jakarta/servlet/resources/web-common_6_0.xsd b/java/jakarta/servlet/resources/web-common_6_0.xsd
index 4d2b152..c0e3dd8 100644
--- a/java/jakarta/servlet/resources/web-common_6_0.xsd
+++ b/java/jakarta/servlet/resources/web-common_6_0.xsd
@@ -955,19 +955,6 @@
           </xsd:documentation>
         </xsd:annotation>
       </xsd:element>
-      <xsd:element name="same-site"
-                   type="jakartaee:cookie-sameSiteType"
-                   minOccurs="0">
-        <xsd:annotation>
-          <xsd:documentation>
-
-            Specifies whether any session tracking cookies created
-            by this web application will be marked with a Same-Site
-            attribute
-
-          </xsd:documentation>
-        </xsd:annotation>
-      </xsd:element>
       <xsd:element name="secure"
                    type="jakartaee:true-falseType"
                    minOccurs="0">
@@ -1083,30 +1070,6 @@
 
 <!-- **************************************************** -->
 
-  <xsd:complexType name="cookie-sameSiteType">
-    <xsd:annotation>
-      <xsd:documentation>
-
-        This type defines the values for the Same-Site cookie
-        attribute as defined by
-        https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7
-
-        Used in: cookie-config
-
-      </xsd:documentation>
-    </xsd:annotation>
-    <xsd:simpleContent>
-      <xsd:restriction base="jakartaee:string">
-        <xsd:enumeration value="None"/>
-        <xsd:enumeration value="Lax"/>
-        <xsd:enumeration value="Strict"/>
-      </xsd:restriction>
-    </xsd:simpleContent>
-  </xsd:complexType>
-
-
-<!-- **************************************************** -->
-
   <xsd:complexType name="tracking-modeType">
     <xsd:annotation>
       <xsd:documentation>

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