Currently, many variables are defined in template.xsl. This stylesheet should only be imported once, in nexml-isatab.xsl. But for debugging assay.xsl, investigation.xsl, and study.xsl, it's convenient to have the template imported in each of these. Doing so multiple times throws up a distracting warning from SAXON, because it's bad practice (though in this case there's no consequences).
In my dev branches I will import templates.xsl in each stylesheet and then hopefully remember to remove them before committing to master.
A better solution would be to somehow conditionally import template.xsl, depending on whether it is already imported in the transformation.
Alternately, Oxygen likely has some sort of parameter to throw at the Transform config.
Currently, many variables are defined in template.xsl. This stylesheet should only be imported once, in nexml-isatab.xsl. But for debugging assay.xsl, investigation.xsl, and study.xsl, it's convenient to have the template imported in each of these. Doing so multiple times throws up a distracting warning from SAXON, because it's bad practice (though in this case there's no consequences).
In my dev branches I will import templates.xsl in each stylesheet and then hopefully remember to remove them before committing to master.
A better solution would be to somehow conditionally import template.xsl, depending on whether it is already imported in the transformation.
Alternately, Oxygen likely has some sort of parameter to throw at the Transform config.