|
9 | 9 | 'disabled=""/></resources></acl></config>',
|
10 | 10 | [
|
11 | 11 | "Element 'resource', attribute 'disabled': '' is not a valid value of the atomic" .
|
12 |
| - " type 'xs:boolean'.\nLine: 1\n"], |
| 12 | + " type 'xs:boolean'.\nLine: 1\n", |
| 13 | + "Element 'resource': The attribute 'title' is required but missing.\nLine: 1\n", |
| 14 | + ], |
13 | 15 | ],
|
14 | 16 | 'disabled_attribute_wrong_type_value' => [
|
15 | 17 | '<?xml version="1.0"?><config><acl><resources><resource id="Test_Value::show_toolbar" ' .
|
16 | 18 | 'disabled="notBool"/></resources></acl></config>',
|
17 | 19 | [
|
18 | 20 | "Element 'resource', attribute 'disabled': 'notBool' is not a valid value of the atomic type " .
|
19 |
| - "'xs:boolean'.\nLine: 1\n" |
| 21 | + "'xs:boolean'.\nLine: 1\n", |
| 22 | + "Element 'resource': The attribute 'title' is required but missing.\nLine: 1\n", |
20 | 23 | ],
|
21 | 24 | ],
|
22 | 25 | 'double_acl' => [
|
|
59 | 62 | "'typeId'.\nLine: 1\n",
|
60 | 63 | "Element 'resource', attribute 'id': Warning: No precomputed value available, " .
|
61 | 64 | "the value was either invalid or " .
|
62 |
| - "something strange happend.\nLine: 1\n" |
| 65 | + "something strange happend.\nLine: 1\n", |
| 66 | + "Element 'resource': The attribute 'title' is required but missing.\nLine: 1\n", |
63 | 67 | ],
|
64 | 68 | ],
|
65 | 69 | 'notvalid_id_attribute_value_regexp2' => [
|
|
71 | 75 | "Element 'resource', attribute 'id': 'Test_value::show_toolbar' is not a valid value of the atomic type " .
|
72 | 76 | "'typeId'.\nLine: 1\n",
|
73 | 77 | "Element 'resource', attribute 'id': Warning: No precomputed value available, " .
|
74 |
| - "the value was either invalid or something strange happend.\nLine: 1\n" |
| 78 | + "the value was either invalid or something strange happend.\nLine: 1\n", |
| 79 | + "Element 'resource': The attribute 'title' is required but missing.\nLine: 1\n", |
75 | 80 | ],
|
76 | 81 | ],
|
77 | 82 | 'notvalid_id_attribute_value_regexp3' => [
|
|
83 | 88 | "Element 'resource', attribute 'id': 'M@#$%^*_Value::show_toolbar' " .
|
84 | 89 | "is not a valid value of the atomic type 'typeId'.\nLine: 1\n",
|
85 | 90 | "Element 'resource', attribute 'id': Warning: No precomputed value available, " .
|
86 |
| - "the value was either invalid or something strange happend.\nLine: 1\n" |
| 91 | + "the value was either invalid or something strange happend.\nLine: 1\n", |
| 92 | + "Element 'resource': The attribute 'title' is required but missing.\nLine: 1\n", |
87 | 93 | ],
|
88 | 94 | ],
|
89 | 95 | 'notvalid_id_attribute_value_regexp4' => [
|
|
96 | 102 | "is not a valid value of the atomic type 'typeId'.\nLine: 1\n",
|
97 | 103 | "Element 'resource', attribute 'id': " .
|
98 | 104 | "Warning: No precomputed value available, the value was either invalid " .
|
99 |
| - "or something strange happend.\nLine: 1\n" |
| 105 | + "or something strange happend.\nLine: 1\n", |
| 106 | + "Element 'resource': The attribute 'title' is required but missing.\nLine: 1\n", |
100 | 107 | ],
|
101 | 108 | ],
|
102 | 109 | 'notvalid_id_attribute_value_regexp5' => [
|
|
109 | 116 | "is not a valid value of the atomic type 'typeId'.\nLine: 1\n",
|
110 | 117 | "Element 'resource', attribute 'id': " .
|
111 | 118 | "Warning: No precomputed value available, the value was either invalid " .
|
112 |
| - "or something strange happend.\nLine: 1\n" |
| 119 | + "or something strange happend.\nLine: 1\n", |
| 120 | + "Element 'resource': The attribute 'title' is required but missing.\nLine: 1\n", |
113 | 121 | ],
|
114 | 122 | ],
|
115 | 123 | 'notvalid_id_attribute_value_regexp6' => [
|
|
122 | 130 | "type 'typeId'.\nLine: 1\n",
|
123 | 131 | "Element 'resource', attribute 'id': " .
|
124 | 132 | "Warning: No precomputed value available, the value was either invalid " .
|
125 |
| - "or something strange happend.\nLine: 1\n" |
| 133 | + "or something strange happend.\nLine: 1\n", |
| 134 | + "Element 'resource': The attribute 'title' is required but missing.\nLine: 1\n", |
126 | 135 | ],
|
127 | 136 | ],
|
128 | 137 | 'notvalid_id_attribute_value_regexp7' => [
|
|
134 | 143 | " 'typeId'.\nLine: 1\n",
|
135 | 144 | "Element 'resource', attribute 'id': " .
|
136 | 145 | "Warning: No precomputed value available, the value was either invalid " .
|
137 |
| - "or something strange happend.\nLine: 1\n" |
| 146 | + "or something strange happend.\nLine: 1\n", |
| 147 | + "Element 'resource': The attribute 'title' is required but missing.\nLine: 1\n", |
138 | 148 | ],
|
139 | 149 | ],
|
140 | 150 | 'sortOrder_attribute_empty_value' => [
|
|
153 | 163 | 'with_not_allowed_attribute' => [
|
154 | 164 | '<?xml version="1.0"?><config><acl><resources><resource id="Test_Value::show_toolbar" ' .
|
155 | 165 | 'someatrrname="some value"/></resources></acl></config>',
|
156 |
| - ["Element 'resource', attribute 'someatrrname': The attribute 'someatrrname' is not allowed.\nLine: 1\n"], |
| 166 | + [ |
| 167 | + "Element 'resource', attribute 'someatrrname': The attribute 'someatrrname' is not allowed.\nLine: 1\n", |
| 168 | + "Element 'resource': The attribute 'title' is required but missing.\nLine: 1\n", |
| 169 | + ], |
157 | 170 | ],
|
158 | 171 | 'with_two_same_id' => [
|
159 | 172 | '<?xml version="1.0"?><config><acl><resources><resource id="Test_Value::show_toolbar" ' .
|
|
0 commit comments