Skip to content

Commit 396a774

Browse files
Merge remote-tracking branch '39867/2.4-develop-system_file-xsd-fix' into julprs
2 parents b3d31e7 + a8058d6 commit 396a774

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

app/code/Magento/Config/etc/system_file.xsd

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
/**
4-
* Copyright © Magento, Inc. All rights reserved.
5-
* See COPYING.txt for license details.
4+
* Copyright 2012 Adobe
5+
* All Rights Reserved.
66
*/
77
-->
88
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
@@ -178,7 +178,7 @@
178178
<xs:sequence>
179179
<xs:choice minOccurs="0" maxOccurs="unbounded">
180180
<xs:element name="label" type="xs:string" />
181-
<xs:element ref="comment" />
181+
<xs:element name="comment" type="commentType" minOccurs="0" />
182182
<xs:element name="tooltip" type="xs:string" />
183183
<xs:element name="hint" type="xs:string" />
184184
<xs:element name="frontend_class" type="xs:string" />
@@ -479,20 +479,12 @@
479479
</xs:restriction>
480480
</xs:simpleType>
481481

482-
<xs:element name="comment">
483-
<xs:annotation>
484-
<xs:documentation>
485-
Comment type
486-
</xs:documentation>
487-
</xs:annotation>
488-
489-
<xs:complexType mixed="true">
490-
<xs:sequence>
491-
<xs:any minOccurs="0" maxOccurs="1" processContents="lax" />
492-
</xs:sequence>
493-
<xs:attributeGroup ref="commentAttributeGroup"/>
494-
</xs:complexType>
495-
</xs:element>
482+
<xs:complexType name="commentType" mixed="true">
483+
<xs:sequence>
484+
<xs:element name="model" type="typeModel" minOccurs="0"/>
485+
</xs:sequence>
486+
<xs:attribute name="model" type="xs:string" use="optional"/>
487+
</xs:complexType>
496488

497489
<xs:simpleType name="typeConfigPath">
498490
<xs:annotation>

0 commit comments

Comments
 (0)