Skip to content

Commit

Permalink
ENGCOM-5724: Resolve indexer.xml & mview.xml not allowing numbers in …
Browse files Browse the repository at this point in the history
…vendor and class name #24324
  • Loading branch information
sidolov authored Sep 4, 2019
2 parents 665da40 + 0c9b2c0 commit d29f34b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/internal/Magento/Framework/Indexer/etc/indexer.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@
<xs:simpleType name="classType">
<xs:annotation>
<xs:documentation>
Class name can contain only [a-zA-Z\].
Class name can contain only [a-zA-Z|\\]+[a-zA-Z0-9\\]+.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[a-zA-Z\\]+" />
<xs:pattern value="[a-zA-Z|\\]+[a-zA-Z0-9\\]+" />
</xs:restriction>
</xs:simpleType>

Expand Down
4 changes: 2 additions & 2 deletions lib/internal/Magento/Framework/Mview/etc/mview.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
<xs:simpleType name="classType">
<xs:annotation>
<xs:documentation>
Class name can contain only [a-zA-Z\].
Class name can contain only [a-zA-Z|\\]+[a-zA-Z0-9\\]+.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[a-zA-Z\\]+" />
<xs:pattern value="[a-zA-Z|\\]+[a-zA-Z0-9\\]+" />
</xs:restriction>
</xs:simpleType>

Expand Down

0 comments on commit d29f34b

Please sign in to comment.