@@ -224,7 +224,14 @@ public function providerForTestValidate()
224
224
[
225
225
new ValidationError (
226
226
"Validation of XML content failed: \n" .
227
- '/section/para/link: links must start with one of: http://, https://, mailto:, ezcontent://, ezlocation://, ezremote://, ezurl://, /, # ' ,
227
+ 'Error in 3:0: Element section has extra content: para ' ,
228
+ null ,
229
+ [],
230
+ 'xml '
231
+ ),
232
+ new ValidationError (
233
+ "Validation of XML content failed: \n" .
234
+ '/section/para/link: using scripts in links is not allowed ' ,
228
235
null ,
229
236
[],
230
237
'xml '
@@ -239,7 +246,7 @@ public function providerForTestValidate()
239
246
[
240
247
new ValidationError (
241
248
"Validation of XML content failed: \n" .
242
- '/section/para/link: links must start with one of: http://, https://, mailto:, ezcontent://, ezlocation://, ezremote://, ezurl://, /, # ' ,
249
+ 'Error in 3:0: Element section has extra content: para ' ,
243
250
null ,
244
251
[],
245
252
'xml '
@@ -269,7 +276,14 @@ public function providerForTestValidate()
269
276
[
270
277
new ValidationError (
271
278
"Validation of XML content failed: \n" .
272
- '/section/para/link: links must start with one of: http://, https://, mailto:, ezcontent://, ezlocation://, ezremote://, ezurl://, /, # ' ,
279
+ 'Error in 3:0: Element section has extra content: para ' ,
280
+ null ,
281
+ [],
282
+ 'xml '
283
+ ),
284
+ new ValidationError (
285
+ "Validation of XML content failed: \n" .
286
+ '/section/para/link: using scripts in links is not allowed ' ,
273
287
null ,
274
288
[],
275
289
'xml '
0 commit comments