Closed thomas-roberts316 closed 2 years ago
The XML schema has been updated and errors with the XML export on the AOP-Wiki have been fixed. The current schema is available here: https://github.com/swandle06/AopXml/releases/tag/v1.0.1. At this stage, validation failures appear to be limited to a handful of controlled terms that are currently under review. Once those terms have been finalized, the schema will be updated accordingly.
This change is immediate when accessing the dynamic XML for individual AOPs (e.g. https://aopwiki.org/aops/69.xml). The nightly download file (https://aopwiki.org/downloads/aop-wiki-xml.gz) will be correct as of tomorrow (5/8/2022). It will also be corrected in our next quarterly release on July 1, 2022. We do not correct errors in previous permanent downloads.
We have encountered an issue where there seems to be a discrepancy between the current XSD and the latest AOP Wiki data. The issue we are facing is with:
<xs:simpleType name="confidence-level-type">
Which defines 4 options:
`
</xs:restriction> `
However in the latest data the values that are used are "High", "Moderate", "Low" and "Not specified".
There is also a
<oecd-project>
tag present in the data which is not in the schema.The latest dataset also fails validation against the current.xsd in other areas, however these aren't causing us any issues yet. Please see this file file for the full output of the validation: log.txt
The dataset we are using is aop-wiki-xml-2021-04-01.xml, and the schema is the latest available here at the time of writing.