Clean up existing test cases to be schema valid.
a. See note below.
Add tests for the schema validation stage.
This fixes #13.
Note: For the rule 'RegistrationInfo must only appear within an Extensions element' and 'PublicationInfo must only appear within an Extensions element' I placed them inside a <SingleSignOnService> element, as the EndpointType was the only other place I could see that would allow them (sequence of any) whilst still being schema valid that would trigger that error.
This fixes #13.
Note: For the rule 'RegistrationInfo must only appear within an Extensions element' and 'PublicationInfo must only appear within an Extensions element' I placed them inside a
<SingleSignOnService>
element, as theEndpointType
was the only other place I could see that would allow them (sequence ofany
) whilst still being schema valid that would trigger that error.