From 94b921759431baf4c8330da79e9a1a839dc47d85 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Thu, 30 Oct 2014 09:58:10 +0100 Subject: update TSL fixup filter > fix wrong encoded Id attributes in TSL root element --- .../at/gv/egovernment/moa/spss/tsl/utils/TSLImportFromFileContext.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spss/server/serverlib/src') diff --git a/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/tsl/utils/TSLImportFromFileContext.java b/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/tsl/utils/TSLImportFromFileContext.java index 492d10eda..f8e8f608b 100644 --- a/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/tsl/utils/TSLImportFromFileContext.java +++ b/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/tsl/utils/TSLImportFromFileContext.java @@ -726,7 +726,8 @@ public class TSLImportFromFileContext extends iaik.xml.crypto.tsl.TSLImportFromF } else if (e.getMessage().startsWith("cvc-datatype-valid.1.2.1: '") && e.getMessage().endsWith("' is not a valid value for 'NCName'.")){ - if (expectedTerritory_ == Countries.CY || expectedTerritory_ == Countries.LV){ + if (expectedTerritory_ == Countries.CY || expectedTerritory_ == Countries.LV || + expectedTerritory_ == Countries.HR || expectedTerritory_ == Countries.NL){ return new AttributeValueFixup("","Id","(.+)","x$1",e, this); } } else if (e.getMessage().startsWith("cvc-complex-type.2.3: Element '") && e.getMessage().endsWith("' cannot have character [children], because the type's content type is element-only.")) { -- cgit v1.2.3