diff options
author | Adrian Kummerlaender | 2014-10-13 18:44:03 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2014-10-13 18:44:03 +0200 |
commit | 8b31d7cdd01f9a83ff7ab282993eb5b877a971ed (patch) | |
tree | 8b407bea06f3588f002d00dfbbfafa83a51c89a3 | |
parent | ce5c887d3f8d7f72396bae5b20166d6af1c76445 (diff) | |
download | BuildXSLT-master.tar BuildXSLT-master.tar.gz BuildXSLT-master.tar.bz2 BuildXSLT-master.tar.lz BuildXSLT-master.tar.xz BuildXSLT-master.tar.zst BuildXSLT-master.zip |
* a failed call to "InputXSLT:generate" returns a full log of all errors and XSLT messages
** this log is very helpful for debugging purposes and is now included into BuildXSLT errors
-rw-r--r-- | build.xsl | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -31,7 +31,13 @@ <xsl:message terminate="yes"> <xsl:text>Failed to generate transformation "</xsl:text> <xsl:value-of select="string($transformation)"/> - <xsl:text>"</xsl:text> + <xsl:text>": 
</xsl:text> + + <xsl:for-each select="$result/error"> + <xsl:text>
</xsl:text> + <xsl:value-of select="."/> + <xsl:text>
</xsl:text> + </xsl:for-each> </xsl:message> </xsl:otherwise> </xsl:choose> |