etf-validator / governance

ETF Steering Group and the Technical Committee documents
1 stars 2 forks source link

Improve schema validation #49

Closed jonherrmann closed 2 years ago

jonherrmann commented 6 years ago

ETF Improvement Proposal (EIP)

Background and Motivation:

The current BaseX test driver uses the BaseX validation module. This approach has limitations, for example, an older version of Xerces is used.

This approach also implies that validation is only executed as part of a regular assertion. In general, assertions are written assuming that the XML documents under test are valid. Invalid documents will often have side effects on unrelated assertions and can confuse the user. In general, only XML documents that are valid against a schema should be tested by an Executable Test Suite.

Proposed change

Alternatives

n/a

Funding

Yes

Additional information

Update https://github.com/etf-validator/etf-webapp/issues/181 in the process.

jonherrmann commented 2 years ago

Implemented in Version 2.1.0