Ticket #775 (assigned Task)
workaround for lxml bug exposed by validation code
|Reported by:||rupert||Owned by:||paul|
|Priority:||critical||Milestone:||V1.2 Questionnaire release|
|Component:||WP6 - CMIP5 Questionnaire||Version:|
Description (last modified by gerry) (diff)
the validation code uses lxml to perform schematron checks. The schematron itself makes use of the xsl import construct using a relative URI. However, lxml adds a spurious string://__STRING__XSLT__/ to the relative URI and therefore does not find the required xsl document.
The only way that Paul has found to get this to work in lxml is to use an absolute file path. It would be good to find a better solution if at all possible.
One option would be to revert to libxslt for the schematron processing as this worked previously.
Also, perhaps the lxml list might have some suggestions.