svn commit: r1814294 - in /ofbiz/site/dtds: compound-widgets.xsd entity-eca.xsd site-conf.xsd

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1814294 - in /ofbiz/site/dtds: compound-widgets.xsd entity-eca.xsd site-conf.xsd

jleroux@apache.org
Author: jleroux
Date: Sat Nov  4 14:43:56 2017
New Revision: 1814294

URL: http://svn.apache.org/viewvc?rev=1814294&view=rev
Log:
Updates DTDs

Modified:
    ofbiz/site/dtds/compound-widgets.xsd
    ofbiz/site/dtds/entity-eca.xsd
    ofbiz/site/dtds/site-conf.xsd

Modified: ofbiz/site/dtds/compound-widgets.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/compound-widgets.xsd?rev=1814294&r1=1814293&r2=1814294&view=diff
==============================================================================
--- ofbiz/site/dtds/compound-widgets.xsd (original)
+++ ofbiz/site/dtds/compound-widgets.xsd Sat Nov  4 14:43:56 2017
@@ -1,4 +1,23 @@
-<xs:schema
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<xs:schema
     xmlns:sc="http://ofbiz.apache.org/Site-Conf"
     xmlns:sm="http://ofbiz.apache.org/Simple-Method"
     xmlns:wf="http://ofbiz.apache.org/Widget-Form"

Modified: ofbiz/site/dtds/entity-eca.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/entity-eca.xsd?rev=1814294&r1=1814293&r2=1814294&view=diff
==============================================================================
--- ofbiz/site/dtds/entity-eca.xsd (original)
+++ ofbiz/site/dtds/entity-eca.xsd Sat Nov  4 14:43:56 2017
@@ -77,6 +77,14 @@ under the License.
                 </xs:restriction>
             </xs:simpleType>
         </xs:attribute>
+        <xs:attribute name="enabled" default="true">
+            <xs:simpleType>
+                <xs:restriction base="xs:token">
+                    <xs:enumeration value="true"/>
+                    <xs:enumeration value="false"/>
+                </xs:restriction>
+            </xs:simpleType>
+        </xs:attribute>
     </xs:attributeGroup>
     <xs:element name="condition">
         <xs:complexType>

Modified: ofbiz/site/dtds/site-conf.xsd
URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/site-conf.xsd?rev=1814294&r1=1814293&r2=1814294&view=diff
==============================================================================
--- ofbiz/site/dtds/site-conf.xsd (original)
+++ ofbiz/site/dtds/site-conf.xsd Sat Nov  4 14:43:56 2017
@@ -782,7 +782,7 @@ under the License.
                 </xs:restriction>
             </xs:simpleType>
         </xs:attribute>
-        <xs:attribute name="x-frame-option" default="sameorigin">
+        <xs:attribute name="x-frame-options" default="sameorigin">
             <xs:annotation>
                 <xs:documentation>
                     Provides clickjacking protection by instructing browsers that this page should not be placed within a frame.
@@ -799,6 +799,7 @@ under the License.
                     <xs:enumeration value="deny"/>
                     <xs:enumeration value="sameorigin"/>
                     <xs:enumeration value="allow-from"/>
+                    <xs:enumeration value="none"/>
                 </xs:restriction>
             </xs:simpleType>
         </xs:attribute>