[
'',
["Element 'config': Missing child element(s). Expected is ( event ).\nLine: 1\n"],
],
'event_without_required_name_attribute' => [
'',
["Element 'event': Missing child element(s). Expected is ( observer ).\nLine: 1\n"],
],
'event_with_notallowed_attribute' => [
'',
["Element 'event', attribute 'notallowed': The attribute 'notallowed' is not allowed.\nLine: 1\n"],
],
'event_with_same_name_attribute_value' => [
'',
[
"Element 'event': Duplicate key-sequence ['same_name'] in unique identity-constraint " .
"'uniqueEventName'.\nLine: 1\n"
],
],
'event_without_required_observer_handle' => [
'',
["Element 'event': Missing child element(s). Expected is ( observer ).\nLine: 1\n"],
],
'event_without_required_observer_name_attribute' => [
'',
["Element 'observer': The attribute 'name' is required but missing.\nLine: 1\n"],
],
'event_with_same_observer_handle_name' => [
'',
[
"Element 'observer': Duplicate key-sequence ['observer_name'] in unique identity-constraint " .
"'uniqueObserverName'.\nLine: 1\n"
],
],
'event_observer_with_invalid_disabled_value' => [
'',
[
"Element 'observer', attribute 'disabled': 'string' is not a valid value of the atomic type" .
" 'xs:boolean'.\nLine: 1\n"
],
],
'event_observer_with_invalid_shared_value' => [
'',
[
"Element 'observer', attribute 'shared': 'string' is not a valid value of the atomic type" .
" 'xs:boolean'.\nLine: 1\n"
],
],
'event_observer_with_invalid_method_value' => [
'',
[
"Element 'observer', attribute 'method': The attribute 'method' is not allowed.\nLine: 1\n"
],
]
];