diff --git a/specifications/xslt-40/src/element-catalog.xml b/specifications/xslt-40/src/element-catalog.xml index e2f00aabe..d3cb696cd 100644 --- a/specifications/xslt-40/src/element-catalog.xml +++ b/specifications/xslt-40/src/element-catalog.xml @@ -1704,7 +1704,6 @@ - diff --git a/specifications/xslt-40/src/xslt.xml b/specifications/xslt-40/src/xslt.xml index 8e4108a1f..903adf7c3 100644 --- a/specifications/xslt-40/src/xslt.xml +++ b/specifications/xslt-40/src/xslt.xml @@ -15690,6 +15690,14 @@ and version="1.0" otherwise.

Try/Catch + + + + New variables err:stack-trace, err:additional, + and err:map are available within an xsl:catch clause. + + +

The xsl:try instruction can be used to trap dynamic errors occurring within the expression it wraps; the recovery action if such @@ -15845,6 +15853,28 @@ and version="1.0" otherwise.

instruction where the error occurred; an empty sequence if the information is not available. The value may be approximate. + + err:stack-trace + xs:string? + An + string containing diagnostic + information about the state of execution at the point where the error occured, + or an empty sequence if no stack trace is available. + + + err:additional + item()* + Additional + information about the error. + + + err:map + map(xs:string, item()*) + A map with entries that are bound to the variables + above. The local names of the variables are assigned as keys. No map entries + are created for those values that are empty sequences. The variable can be + used to pass on all error information to another function. +