aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-10-13 18:44:03 +0200
committerAdrian Kummerlaender2014-10-13 18:44:03 +0200
commit8b31d7cdd01f9a83ff7ab282993eb5b877a971ed (patch)
tree8b407bea06f3588f002d00dfbbfafa83a51c89a3
parentce5c887d3f8d7f72396bae5b20166d6af1c76445 (diff)
downloadBuildXSLT-8b31d7cdd01f9a83ff7ab282993eb5b877a971ed.tar
BuildXSLT-8b31d7cdd01f9a83ff7ab282993eb5b877a971ed.tar.gz
BuildXSLT-8b31d7cdd01f9a83ff7ab282993eb5b877a971ed.tar.bz2
BuildXSLT-8b31d7cdd01f9a83ff7ab282993eb5b877a971ed.tar.lz
BuildXSLT-8b31d7cdd01f9a83ff7ab282993eb5b877a971ed.tar.xz
BuildXSLT-8b31d7cdd01f9a83ff7ab282993eb5b877a971ed.tar.zst
BuildXSLT-8b31d7cdd01f9a83ff7ab282993eb5b877a971ed.zip
Expanded generation failure message to include error logHEADmaster
* 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.xsl8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.xsl b/build.xsl
index 501c129..06fb410 100644
--- a/build.xsl
+++ b/build.xsl
@@ -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>": &#xA;</xsl:text>
+
+ <xsl:for-each select="$result/error">
+ <xsl:text>&#xA;</xsl:text>
+ <xsl:value-of select="."/>
+ <xsl:text>&#xA;</xsl:text>
+ </xsl:for-each>
</xsl:message>
</xsl:otherwise>
</xsl:choose>