[ofbiz-site] branch master updated: Updates DTDs

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

[ofbiz-site] branch master updated: Updates DTDs

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ofbiz-site.git


The following commit(s) were added to refs/heads/master by this push:
     new e0d1151  Updates DTDs
e0d1151 is described below

commit e0d1151151df8ced88579ba79c108b4445d6f567
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Tue Oct 6 16:17:00 2020 +0200

    Updates DTDs
---
 dtds/widget-screen.xsd | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dtds/widget-screen.xsd b/dtds/widget-screen.xsd
index 99f32b1..3774d9a 100644
--- a/dtds/widget-screen.xsd
+++ b/dtds/widget-screen.xsd
@@ -514,11 +514,15 @@ under the License.
     </xs:element>
     <xs:element name="html-template" substitutionGroup="HtmlWidgets">
         <xs:complexType>
-            <xs:attributeGroup ref="attlist.html-template" />
+            <xs:simpleContent>
+                <xs:extension base="xs:string">
+                    <xs:attributeGroup ref="attlist.html-template" />
+                </xs:extension>
+            </xs:simpleContent>
         </xs:complexType>
     </xs:element>
     <xs:attributeGroup name="attlist.html-template">
-        <xs:attribute type="xs:string" name="location" use="required" />
+        <xs:attribute type="xs:string" name="location" use="optional" />
         <xs:attribute type="xs:boolean" name="multi-block" use="optional" default="false">
             <xs:annotation>
                 <xs:documentation>