Open asaletourneau opened 2 years ago
I believe this error is due to a known bug in the XSLT interpreter which Solr is using (Xalan). The bug causes the stylesheet to fail with a (bogus) "circular reference" error message in the case that a global variable in the XSLT includes within its value the definition of another variable.
https://issues.apache.org/jira/browse/XALANJ-2430
I've replaced the variable with a named template which I'm pretty confident will avoid the problem. The updated version of the stylesheet is here: https://raw.githubusercontent.com/Conal-Tuohy/PROV-Solr-API-Tools/main/solr/solr-to-iiif.xsl
Daniel Wilson wrote:
solr-staging_test_iiif_xslt.txt