From dff957a6f6b28f89a087d3eaf3107e3e7db2f11c Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Thu, 3 Sep 2015 16:08:06 +0200 Subject: [PATCH] exceptions fixed --- src/gen_java_exceptions.ysl2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gen_java_exceptions.ysl2 b/src/gen_java_exceptions.ysl2 index fc9f4a5..69caf18 100644 --- a/src/gen_java_exceptions.ysl2 +++ b/src/gen_java_exceptions.ysl2 @@ -8,7 +8,7 @@ tstylesheet { | | public class pEpException extends Exception { } - apply "namespace/enum[@name='pEp_status']", 0; + apply "namespace/exception[@name='pEp_status']", 0; } function "exception" { @@ -21,7 +21,7 @@ tstylesheet { } } - template "enum" for "*[text()!=0]" call "exception" + template "exception" for "*[text()!=0]" call "exception" with "name" call "CamelCase" with "text", "name(.)"; }