diff --git a/app/code/Magento/Catalog/Test/Unit/Model/ProductOptions/Config/_files/invalidProductOptionsXmlArray.php b/app/code/Magento/Catalog/Test/Unit/Model/ProductOptions/Config/_files/invalidProductOptionsXmlArray.php
index 034b04b6a757d..7379c87e738e2 100644
--- a/app/code/Magento/Catalog/Test/Unit/Model/ProductOptions/Config/_files/invalidProductOptionsXmlArray.php
+++ b/app/code/Magento/Catalog/Test/Unit/Model/ProductOptions/Config/_files/invalidProductOptionsXmlArray.php
@@ -29,12 +29,12 @@
],
],
'renderer_attribute_with_invalid_value' => [
- '',
[
- "Element 'entityType', attribute 'model': [facet 'pattern'] The value '1' is not accepted by the " .
- "pattern '[A-Za-z_\\\\]+'.\nLine: 1\n",
- "Element 'entityType', attribute 'model': '1' is not a valid value of the atomic type" .
+ "Element 'entityType', attribute 'model': [facet 'pattern'] The value 'true-123' is not accepted by the " .
+ "pattern '[A-Za-z0-9_\\\\]+'.\nLine: 1\n",
+ "Element 'entityType', attribute 'model': 'true-123' is not a valid value of the atomic type" .
" 'modelName'.\nLine: 1\n",
- "Element 'fileFormat', attribute 'model': [facet 'pattern'] The value 'model1' is not " .
- "accepted by the pattern '[A-Za-z_\\\\]+'.\nLine: 1\n",
- "Element 'fileFormat', attribute 'model': 'model1' is not a valid " .
+ "Element 'fileFormat', attribute 'model': [facet 'pattern'] The value 'true-123' is not " .
+ "accepted by the pattern '[A-Za-z0-9_\\\\]+'.\nLine: 1\n",
+ "Element 'fileFormat', attribute 'model': 'true-123' is not a valid " .
"value of the atomic type 'modelName'.\nLine: 1\n"
],
],
diff --git a/app/code/Magento/ImportExport/Test/Unit/Model/Import/Config/_files/invalidImportMergedXmlArray.php b/app/code/Magento/ImportExport/Test/Unit/Model/Import/Config/_files/invalidImportMergedXmlArray.php
index 357b35e8a313c..ac81205a7b15c 100644
--- a/app/code/Magento/ImportExport/Test/Unit/Model/Import/Config/_files/invalidImportMergedXmlArray.php
+++ b/app/code/Magento/ImportExport/Test/Unit/Model/Import/Config/_files/invalidImportMergedXmlArray.php
@@ -26,22 +26,22 @@
["Element 'entity', attribute 'notallowed': The attribute 'notallowed' is not allowed.\nLine: 1\n"],
],
'entity_model_with_invalid_value' => [
- '',
[
- "Element 'entity', attribute 'model': [facet 'pattern'] The value 'afwer34' is not " .
- "accepted by the pattern '[A-Za-z_\\\\]+'.\nLine: 1\n",
- "Element 'entity', attribute 'model': 'afwer34' is not a valid value of the atomic type" .
+ "Element 'entity', attribute 'model': [facet 'pattern'] The value 'true-123' is not " .
+ "accepted by the pattern '[A-Za-z0-9_\\\\]+'.\nLine: 1\n",
+ "Element 'entity', attribute 'model': 'true-123' is not a valid value of the atomic type" .
" 'modelName'.\nLine: 1\n"
],
],
'entity_behaviorModel_with_invalid_value' => [
- '' .
+ '' .
'',
[
- "Element 'entity', attribute 'behaviorModel': [facet 'pattern'] The value '666' is not accepted by " .
- "the pattern '[A-Za-z_\\\\]+'.\nLine: 1\n",
- "Element 'entity', attribute 'behaviorModel': '666' is not a valid value of the atomic type" .
+ "Element 'entity', attribute 'behaviorModel': [facet 'pattern'] The value 'true-123' is not accepted by " .
+ "the pattern '[A-Za-z0-9_\\\\]+'.\nLine: 1\n",
+ "Element 'entity', attribute 'behaviorModel': 'true-123' is not a valid value of the atomic type" .
" 'modelName'.\nLine: 1\n"
],
]
diff --git a/app/code/Magento/ImportExport/Test/Unit/Model/Import/Config/_files/invalidImportXmlArray.php b/app/code/Magento/ImportExport/Test/Unit/Model/Import/Config/_files/invalidImportXmlArray.php
index c913b53e8b531..8123896f4cfd1 100644
--- a/app/code/Magento/ImportExport/Test/Unit/Model/Import/Config/_files/invalidImportXmlArray.php
+++ b/app/code/Magento/ImportExport/Test/Unit/Model/Import/Config/_files/invalidImportXmlArray.php
@@ -16,20 +16,20 @@
["Element 'entity': The attribute 'name' is required but missing.\nLine: 1\n"],
],
'entity_with_invalid_model_value' => [
- '',
+ '',
[
- "Element 'entity', attribute 'model': [facet 'pattern'] The value '12345' is not accepted by " .
- "the pattern '[A-Za-z_\\\\]+'.\nLine: 1\n",
- "Element 'entity', attribute 'model': '12345' is not a valid value of the atomic type" .
+ "Element 'entity', attribute 'model': [facet 'pattern'] The value 'true-123' is not accepted by " .
+ "the pattern '[A-Za-z0-9_\\\\]+'.\nLine: 1\n",
+ "Element 'entity', attribute 'model': 'true-123' is not a valid value of the atomic type" .
" 'modelName'.\nLine: 1\n"
],
],
'entity_with_invalid_behaviormodel_value' => [
- '',
+ '',
[
- "Element 'entity', attribute 'behaviorModel': [facet 'pattern'] The value '=--09' is not " .
- "accepted by the pattern '[A-Za-z_\\\\]+'.\nLine: 1\n",
- "Element 'entity', attribute 'behaviorModel': '=--09' is not a valid value of the atomic type" .
+ "Element 'entity', attribute 'behaviorModel': [facet 'pattern'] The value 'true-123' is not " .
+ "accepted by the pattern '[A-Za-z0-9_\\\\]+'.\nLine: 1\n",
+ "Element 'entity', attribute 'behaviorModel': 'true-123' is not a valid value of the atomic type" .
" 'modelName'.\nLine: 1\n"
],
],
@@ -46,11 +46,11 @@
["Element 'entityType': The attribute 'model' is required but missing.\nLine: 1\n"],
],
'entitytype_with_invalid_model_attribute_value' => [
- '',
+ '',
[
- "Element 'entityType', attribute 'model': [facet 'pattern'] The value 'test1' is not " .
- "accepted by the pattern '[A-Za-z_\\\\]+'.\nLine: 1\n",
- "Element 'entityType', attribute 'model': 'test1' is not a valid value of the atomic type" .
+ "Element 'entityType', attribute 'model': [facet 'pattern'] The value 'true-123' is not " .
+ "accepted by the pattern '[A-Za-z0-9_\\\\]+'.\nLine: 1\n",
+ "Element 'entityType', attribute 'model': 'true-123' is not a valid value of the atomic type" .
" 'modelName'.\nLine: 1\n"
],
],
diff --git a/app/code/Magento/ImportExport/etc/export.xsd b/app/code/Magento/ImportExport/etc/export.xsd
index 65728a9be5c62..39ba509041c43 100644
--- a/app/code/Magento/ImportExport/etc/export.xsd
+++ b/app/code/Magento/ImportExport/etc/export.xsd
@@ -71,11 +71,11 @@
- Model name can contain only [A-Za-z_\\].
+ Model name can contain only [A-Za-z0-9_\\].
-
+
diff --git a/app/code/Magento/ImportExport/etc/import.xsd b/app/code/Magento/ImportExport/etc/import.xsd
index aefa6541d7e13..1c42c3c004ad3 100644
--- a/app/code/Magento/ImportExport/etc/import.xsd
+++ b/app/code/Magento/ImportExport/etc/import.xsd
@@ -61,11 +61,11 @@
- Model name can contain only [A-Za-z_\\].
+ Model name can contain only [A-Za-z0-9_\\].
-
+
diff --git a/lib/internal/Magento/Framework/Locale/Test/Unit/FormatTest.php b/lib/internal/Magento/Framework/Locale/Test/Unit/FormatTest.php
index 41583fd1383a5..91fcbdf9aa966 100644
--- a/lib/internal/Magento/Framework/Locale/Test/Unit/FormatTest.php
+++ b/lib/internal/Magento/Framework/Locale/Test/Unit/FormatTest.php
@@ -82,7 +82,7 @@ public function getPriceFormatDataProvider()
return [
['en_US', ['decimalSymbol' => '.', 'groupSymbol' => ',']],
['de_DE', ['decimalSymbol' => ',', 'groupSymbol' => '.']],
- ['de_CH', ['decimalSymbol' => '.', 'groupSymbol' => '\'']],
+ ['de_CH', ['decimalSymbol' => '.', 'groupSymbol' => '’']],
['uk_UA', ['decimalSymbol' => ',', 'groupSymbol' => ' ']]
];
}