epimorphics / elda

Epimorphics implementation of the Linked Data API
Other
53 stars 27 forks source link

ashtml.xsl didn't incorporate fixes made to result-*.xsl #201

Open rwalkerands opened 7 years ago

rwalkerands commented 7 years ago

We use a modified version of elda-assets/src/main/webapp/xslt/ashtml.xsl for rendering into HTML.

I had been wondering about the incorrect display of format labels at the top right of generated pages. I have now discovered that this is a defect that was fixed long ago in the result-*.xsl files, but the fixes were not at that time included in ashtml.xsl.

To be specific: commits b98b6a0f38ee6efb651ed89504e47301daa22498 and 3ee991545e92fe2a8d7bffa20cde2c52e3c84381 have (among other things) important fixes to the display of format labels/links. The fix for the particular problem I'm seeing is the one for this template:

<xsl:template match="hasFormat/item" mode="nav">

but it looks like there are lots of other fixes that didn't get applied to ashtml.xsl at the time either.