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 3cacabc Updates site DTDs reference about "auto-parameters-form" 3cacabc is described below commit 3cacabc0c5e45fe45030f859faab1ad1974bf5a5 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Tue Aug 30 13:16:03 2022 +0200 Updates site DTDs reference about "auto-parameters-form" I believe there is an error: UtilXml |E| XmlFileLoader: File file:ReviewForms.xml process error. Line: 525. Error message: sch-props-correct.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of 'http://ofbiz.apache.org/Widget-Form,auto-parameters-form'. I commit here only, before being be sure how to resolve the issue in both places --- dtds/widget-common.xsd | 5 +++++ dtds/widget-form.xsd | 3 +++ 2 files changed, 8 insertions(+) diff --git a/dtds/widget-common.xsd b/dtds/widget-common.xsd index 4ceebcc..c68f25b 100644 --- a/dtds/widget-common.xsd +++ b/dtds/widget-common.xsd @@ -522,6 +522,11 @@ under the License. <xs:attribute name="send-if-empty" type="xs:boolean" default="true"/> </xs:complexType> </xs:element> + <xs:element name="auto-parameters-form"> + <xs:complexType> + <xs:attribute name="form-name" type="xs:string"/> + </xs:complexType> + </xs:element> <xs:element name="exclude"> <xs:complexType> <xs:attribute name="field-name" type="xs:string" use="required" /> diff --git a/dtds/widget-form.xsd b/dtds/widget-form.xsd index 50c779e..6351f0c 100644 --- a/dtds/widget-form.xsd +++ b/dtds/widget-form.xsd @@ -586,6 +586,7 @@ under the License. <xs:sequence> <xs:element minOccurs="0" ref="auto-parameters-service"/> <xs:element minOccurs="0" ref="auto-parameters-entity"/> + <xs:element minOccurs="0" ref="auto-parameters-form"/> <xs:element minOccurs="0" maxOccurs="unbounded" ref="parameter" /> </xs:sequence> <xs:attribute name="event-type" use="required"> @@ -617,6 +618,7 @@ under the License. </xs:attribute> </xs:complexType> </xs:element> + <xs:element name="auto-parameters-form"/> <!-- ================== FIELDS ==================== --> <xs:element name="AllFields" abstract="true"/> @@ -1549,6 +1551,7 @@ under the License. <xs:sequence> <xs:element minOccurs="0" ref="auto-parameters-service"/> <xs:element minOccurs="0" ref="auto-parameters-entity"/> + <xs:element minOccurs="0" ref="auto-parameters-form"/> <xs:element minOccurs="0" maxOccurs="unbounded" ref="parameter" /> </xs:sequence> <xs:attribute name="event-type" use="required">