[
'
',
["Element 'argument': The attribute 'model' is required but missing.\nLine: 5\n"], ],
'url without path attribute' => [
'
',
["Element 'argument': The attribute 'path' is required but missing.\nLine: 5\n"], ],
'url without param name' => [
'
',
["Element 'param': The attribute 'name' is required but missing.\nLine: 6\n"], ],
'url with forbidden param attribute' => [
'
',
["Element 'param', attribute 'forbidden': The attribute 'forbidden' is not allowed.\nLine: 6\n"], ],
'url with forbidden param sub-element' => [
'
',
["Element 'forbidden': This element is not expected.\nLine: 6\n"], ],
'helper without helper attribute' => [
'
',
["Element 'argument': The attribute 'helper' is required but missing.\nLine: 5\n"], ],
'helper without param name' => [
'
',
["Element 'param': The attribute 'name' is required but missing.\nLine: 7\n"], ],
'helper with forbidden param attribute' => [
'
',
["Element 'param', attribute 'forbidden': The attribute 'forbidden' is not allowed.\nLine: 7\n"], ],
'helper with forbidden param sub-element' => [
'
',
["Element 'forbidden': This element is not expected.\nLine: 7\n"], ],
'action with doubled arguments' => [
'
string1
string2
',
[
"Element 'argument': Duplicate key-sequence ['string'] in key identity-constraint"
. " 'actionArgumentName'.\nLine: 6\n"
],
],
];