This line
|
<xsl:otherwise><xsl:value-of select="normalize-space(unparsed-text('../VERSION'))"/></xsl:otherwise> |
may throw "Resolver for unparsed-text() returned non-StreamSource" when "../VERSION" cannot be resolved.
In my case I run odd2html.xsl from xml-maven-plugin, it gives me:
