-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from ibissource/rsin-errorhandling
Rsin errorhandling
- Loading branch information
Showing
8 changed files
with
206 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/main/configurations/Translate/Common/xsl/BuildError.xsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="2.0"> | ||
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/> | ||
<xsl:param name="code" select="'TechnicalError'" as="xs:string" /> | ||
<xsl:param name="reason" select="'Undefined error'" as="xs:string" /> | ||
<xsl:param name="details" select="''" as="xs:string" /> | ||
<xsl:param name="detailsXml" as="node()?" /> | ||
|
||
<xsl:template match="/"> | ||
<error> | ||
<code><xsl:value-of select="$code" /></code> | ||
<reason><xsl:value-of select="$reason" /></reason> | ||
<details><xsl:value-of select="$details" /></details> | ||
<detailsXml><xsl:copy-of select="$detailsXml"/></detailsXml> | ||
</error> | ||
</xsl:template> | ||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.