|
11 | 11 | '</tab><tab id="tab1"><label>Label Two</label></tab></system></config>', |
12 | 12 | [ |
13 | 13 | [ |
14 | | - "Element 'tab': Duplicate key-sequence ['tab1'] in unique identity-constraint 'uniqueTabId'.\nLine: 1\n" . |
15 | | - "The xml was: \n0:<?xml version=\"1.0\"?>\n1:<config><system><tab id=\"tab1\"><label>Label One</label>" . |
16 | | - "</tab><tab id=\"tab1\"><label>Label Two</label></tab></system></config>\n2:\n", |
| 14 | + "Element 'tab': Duplicate key-sequence ['tab1'] in unique identity-constraint 'uniqueTabId'.\n" . |
| 15 | + "Line: 1\nThe xml was: \n0:<?xml version=\"1.0\"?>\n1:<config><system><tab id=\"tab1\"><label>" . |
| 16 | + "Label One</label></tab><tab id=\"tab1\"><label>Label Two</label></tab></system></config>\n2:\n", |
17 | 17 | false, |
18 | 18 | ], |
19 | 19 | ], |
|
37 | 37 | '<group id="group2"><label>Label_One</label></group></section></system></config>', |
38 | 38 | [ |
39 | 39 | [ |
40 | | - "Element 'field': Duplicate key-sequence ['field_id'] in unique identity-constraint 'uniqueFieldId'.\n" . |
41 | | - "Line: 1\nThe xml was: \n0:<?xml version=\"1.0\"?>\n1:<config><system><section id=\"section1\"><group " . |
42 | | - "id=\"group1\"><label>Label</label><field id=\"field_id\"/><field id=\"field_id\"/></group><group " . |
43 | | - "id=\"group2\"><label>Label_One</label></group></section></system></config>\n2:\n", |
| 40 | + "Element 'field': Duplicate key-sequence ['field_id'] in unique identity-constraint 'uniqueFieldId'." . |
| 41 | + "\nLine: 1\nThe xml was: \n0:<?xml version=\"1.0\"?>\n1:<config><system><section id=\"section1\">" . |
| 42 | + "<group id=\"group1\"><label>Label</label><field id=\"field_id\"/><field id=\"field_id\"/></group>" . |
| 43 | + "<group id=\"group2\"><label>Label_One</label></group></section></system></config>\n2:\n", |
44 | 44 | false, |
45 | 45 | ], |
46 | 46 | ], |
|
64 | 64 | [ |
65 | 65 | [ |
66 | 66 | "Element 'group': Duplicate key-sequence ['group1'] in unique identity-constraint 'uniqueGroupId'.\n" . |
67 | | - "Line: 1\nThe xml was: \n0:<?xml version=\"1.0\"?>\n1:<config><system><section id=\"section1\"><group " . |
68 | | - "id=\"group1\"><label>Label</label></group><group id=\"group1\"><label>Label_One</label>" . |
| 67 | + "Line: 1\nThe xml was: \n0:<?xml version=\"1.0\"?>\n1:<config><system><section id=\"section1\">" . |
| 68 | + "<group id=\"group1\"><label>Label</label></group><group id=\"group1\"><label>Label_One</label>" . |
69 | 69 | "</group></section></system></config>\n2:\n", |
70 | 70 | false, |
71 | 71 | ], |
|
77 | 77 | [ |
78 | 78 | [ |
79 | 79 | "Element 'group': This element is not expected. Expected is one of ( tab, section ).\nLine: 1\n" . |
80 | | - "The xml was: \n0:<?xml version=\"1.0\"?>\n1:<config><system><group id=\"group1\"><label>Label</label>" . |
81 | | - "<tab>Tab</tab></group><group id=\"group1\"><label>Label_One</label><tab>Tab_One</tab></group></system>" . |
82 | | - "</config>\n2:\n", |
| 80 | + "The xml was: \n0:<?xml version=\"1.0\"?>\n1:<config><system><group id=\"group1\"><label>Label" . |
| 81 | + "</label><tab>Tab</tab></group><group id=\"group1\"><label>Label_One</label><tab>Tab_One</tab>" . |
| 82 | + "</group></system></config>\n2:\n", |
83 | 83 | false, |
84 | 84 | ], |
85 | 85 | ], |
|
91 | 91 | '<group id="group2"><label>Label_One</label></group></section></system></config>', |
92 | 92 | [ |
93 | 93 | [ |
94 | | - "Element 'upload_dir': This element is not expected.\nLine: 1\nThe xml was: \n0:<?xml version=\"1.0\"?>\n" . |
95 | | - "1:<config><system><section id=\"section1\"><group id=\"group1\"><label>Label</label><field " . |
96 | | - "id=\"field_id\"/><upload_dir config=\"node_one/node_two/node_three\" scope_info=\"1\">" . |
97 | | - "node_one/node_two/node_three</upload_dir></group><group id=\"group2\"><label>Label_One" . |
98 | | - "</label></group></section></system></config>\n2:\n", |
| 94 | + "Element 'upload_dir': This element is not expected.\nLine: 1\nThe xml was: \n0:" . |
| 95 | + "<?xml version=\"1.0\"?>\n1:<config><system><section id=\"section1\"><group id=\"group1\">" . |
| 96 | + "<label>Label</label><field id=\"field_id\"/><upload_dir config=\"node_one/node_two/node_three\" " . |
| 97 | + "scope_info=\"1\">node_one/node_two/node_three</upload_dir></group><group id=\"group2\">" . |
| 98 | + "<label>Label_One</label></group></section></system></config>\n2:\n", |
99 | 99 | false, |
100 | 100 | ], |
101 | 101 | ], |
|
154 | 154 | false, |
155 | 155 | ], |
156 | 156 | [ |
157 | | - "Element 'field', attribute 'id': [facet 'minLength'] The value 'f' has a length of '1'; this underruns " . |
158 | | - "the allowed minimum length of '2'.\nLine: 1\nThe xml was: \n0:<?xml version=\"1.0\"?>\n" . |
| 157 | + "Element 'field', attribute 'id': [facet 'minLength'] The value 'f' has a length of '1'; this " . |
| 158 | + "underruns the allowed minimum length of '2'.\nLine: 1\nThe xml was: \n0:<?xml version=\"1.0\"?>\n" . |
159 | 159 | "1:<config><system><section id=\"s\"><group id=\"gr\"><label>Label</label><field id=\"f\"/></group>" . |
160 | 160 | "<group id=\"group1\"><label>Label</label></group></section><tab id=\"h\"><label>Label_One</label>" . |
161 | 161 | "</tab></system></config>\n2:\n", |
162 | 162 | false, |
163 | 163 | ], |
164 | 164 | [ |
165 | | - "Element 'tab', attribute 'id': [facet 'minLength'] The value 'h' has a length of '1'; this underruns " . |
166 | | - "the allowed minimum length of '2'.\nLine: 1\nThe xml was: \n0:<?xml version=\"1.0\"?>\n" . |
| 165 | + "Element 'tab', attribute 'id': [facet 'minLength'] The value 'h' has a length of '1'; this " . |
| 166 | + "underruns the allowed minimum length of '2'.\nLine: 1\nThe xml was: \n0:<?xml version=\"1.0\"?>\n" . |
167 | 167 | "1:<config><system><section id=\"s\"><group id=\"gr\"><label>Label</label><field id=\"f\"/></group>" . |
168 | 168 | "<group id=\"group1\"><label>Label</label></group></section><tab id=\"h\"><label>Label_One</label>" . |
169 | 169 | "</tab></system></config>\n2:\n", |
|
233 | 233 | [ |
234 | 234 | "Element 'section', attribute 'advanced': 'string' is not a valid value of the atomic type " . |
235 | 235 | "'xs:boolean'.\nLine: 1\nThe xml was: \n0:<?xml version=\"1.0\"?>\n1:<config><system><section " . |
236 | | - "id=\"section1\" advanced=\"string\"><group id=\"group1\"><label>Label</label><field id=\"field_id\"/>" . |
237 | | - "</group><group id=\"group2\"><label>Label_One</label></group></section></system></config>\n2:\n", |
| 236 | + "id=\"section1\" advanced=\"string\"><group id=\"group1\"><label>Label</label>" . |
| 237 | + "<field id=\"field_id\"/></group><group id=\"group2\"><label>Label_One</label></group></section>" . |
| 238 | + "</system></config>\n2:\n", |
238 | 239 | false, |
239 | 240 | ], |
240 | 241 | ], |
|
339 | 340 | [ |
340 | 341 | [ |
341 | 342 | "Element 'attribute': Duplicate key-sequence ['one'] in unique identity-constraint " . |
342 | | - "'uniqueAttributeType'.\nLine: 1\nThe xml was: \n0:<?xml version=\"1.0\"?>\n1:<config><system><section " . |
343 | | - "id=\"name\"><group id=\"name\"><label>Label</label><field id=\"name\"><attribute type=\"one\"/>" . |
344 | | - "<attribute type=\"one\"/></field></group><group id=\"group2\"><label>Label_One</label></group></section>" . |
345 | | - "</system></config>\n2:\n", |
| 343 | + "'uniqueAttributeType'.\nLine: 1\nThe xml was: \n0:<?xml version=\"1.0\"?>\n1:<config><system>" . |
| 344 | + "<section id=\"name\"><group id=\"name\"><label>Label</label><field id=\"name\">" . |
| 345 | + "<attribute type=\"one\"/><attribute type=\"one\"/></field></group><group id=\"group2\">" . |
| 346 | + "<label>Label_One</label></group></section></system></config>\n2:\n", |
346 | 347 | false, |
347 | 348 | ], |
348 | 349 | ], |
|
0 commit comments