-
Notifications
You must be signed in to change notification settings - Fork 25
Frequently Asked Questions
Clemens Portele edited this page Jul 2, 2018
·
2 revisions
Why is the Abstract Test Suite in the INSPIRE data specifications different from the ones on GitHub?
- The changes and their motivation are described in the README of each Abstract Test Suite, e.g. https://github.com/inspire-eu-validation/data-au/blob/master/README.md#approach
- For each conformance class there is a mapping of the test cases to the original test case in the INSPIRE Data Specification, e.g. https://github.com/inspire-eu-validation/data-hy/tree/3.1/hy-p-as#test-cases or https://github.com/inspire-eu-validation/data/tree/3.0rc3/schemas#test-cases
- The requirements for each test are documented in the description above the error message. There is also a link to the test cases in the underlying Abstract Test Suite.
- If, after studying the requirements, you think that the error is unjustified (suspected error in the Executable Test Suite), please open an issue in the ETS repository. It is recommended to check beforehand whether someone has already reported the error.
- If you think that the requirement (in the Technical Guidelines) or the test case (in the Abstract Test Suite) is inappropriate or excessive, please open an issue in the ETS repository. Check, if someone has already reported the issue.
- The Executable Test Suites and the XML/XQuery framework assume that every feature has a distinct gml:id. For example, if there are multiple features with the same gml:id and incorrect geometries, assertion gmlas.d.11 in this ETS will throw an exception:
System error in the Executable Test Suite. Please contact a system administrator. Error information:
[err:XPTY0004] Cannot return node() as node(): ((: node(), true :) ((db:open-pr....
(67/33)
- In general, this assumption will be met as long as data from a single XML document is used, but strictly this does not have to be the case. Therefore, the queries should be changed to support also duplicate gml:id values (as long as these are in different files).
- See Issue: #101
- Currently the test for UTF-8 is disabled as the test would require a BaseX extension - the XML declaration is NOT part of the node set in XML databases.
- See Issue: #23
- Only schema validation against the schemas provided in the xsi:schemaLocation attribute is currently supported. The built-in validator used by Java for validating XML documents against a pre-selected schema, e.g. apiso.xsd, has issues.
- See Issue: #22