Today I Learned: The xsl:import element children must precede all other element children of an xsl:stylesheet element, including any xsl:include element children and any user-defined data elements.

https://github.com/schxslt/schxslt/issues/317