ukf / ukf-testbed

UK federation tooling testbed
Apache License 2.0
1 stars 1 forks source link

Check for schema validity as part of cross-ruleset validity of test data #14

Closed philsmart closed 10 months ago

philsmart commented 11 months ago
  1. Enable schema checking — lots of failures.
  2. Clean up existing test cases to be schema valid. a. See note below.
  3. 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.