Skip to content

Commit f903040

Browse files
author
Evgeniy Kolesov
committed
MAGETWO-55279: XSD for view.xml is too strict
1 parent 827ab5d commit f903040

File tree

1 file changed

+1
-2
lines changed
  • lib/internal/Magento/Framework/Config/etc

1 file changed

+1
-2
lines changed

lib/internal/Magento/Framework/Config/etc/view.xsd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@
7878
</xs:simpleType>
7979
<xs:simpleType>
8080
<xs:restriction base="xs:string">
81-
<xs:minLength value="1"/>
82-
<xs:pattern value="[a-z]+[a-z_]+[a-z]+"/>
81+
<xs:pattern value="[a-z]+_?[a-z]+"/>
8382
</xs:restriction>
8483
</xs:simpleType>
8584
</xs:union>

0 commit comments

Comments
 (0)