From 5859cb6af4a5136a96971c47e41e6195007ef944 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Wed, 28 May 2014 21:51:39 +0200 Subject: Implemented basic ErrorHandler * InputXSLT::ErrorHandler is derived from xercesc::ErrorHandler and enables contextual printing of transformation errors ** currently this means that the error messages passed to std::cerr contain the full path of the offending transformation * added input trimming to the external transform function ** calls to this function from inside a transformation may contain unnecessary whitespace characters which disrupt further processing --- test/transform/reference.xml | 2 -- test/transform/transformation.xsl | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'test/transform') diff --git a/test/transform/reference.xml b/test/transform/reference.xml index 5d45081..bef43e4 100644 --- a/test/transform/reference.xml +++ b/test/transform/reference.xml @@ -1,6 +1,4 @@ - 42 - diff --git a/test/transform/transformation.xsl b/test/transform/transformation.xsl index fc41eb3..f2cc787 100644 --- a/test/transform/transformation.xsl +++ b/test/transform/transformation.xsl @@ -36,7 +36,7 @@ -- cgit v1.2.3