[ofbiz-framework] branch trunk updated: Improved: Allow <html-template> to accept CDATA (OFBIZ-7004)

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

[ofbiz-framework] branch trunk updated: Improved: Allow <html-template> to accept CDATA (OFBIZ-7004)

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

jamesyong pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new cac8c27  Improved: Allow <html-template> to accept CDATA (OFBIZ-7004)
cac8c27 is described below

commit cac8c274773eb87d498db6b8647bb9990b5cece9
Author: James Yong <[hidden email]>
AuthorDate: Thu Sep 10 10:13:28 2020 +0800

    Improved: Allow <html-template> to accept CDATA (OFBIZ-7004)
   
    Fix cvc-complex-type.2.1 error
---
 framework/widget/dtd/widget-screen.xsd | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/framework/widget/dtd/widget-screen.xsd b/framework/widget/dtd/widget-screen.xsd
index be4e5b2..3774d9a 100644
--- a/framework/widget/dtd/widget-screen.xsd
+++ b/framework/widget/dtd/widget-screen.xsd
@@ -514,7 +514,11 @@ 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">