aboutsummaryrefslogtreecommitdiff
path: root/spss
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-10-30 09:58:10 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-10-30 09:58:10 +0100
commit94b921759431baf4c8330da79e9a1a839dc47d85 (patch)
tree177fc99917a1fdaa24d5a1c64819504038c2e1dd /spss
parent714e1895abf0ae67a8d97f680fd896cd46cfc6cb (diff)
downloadmoa-id-spss-94b921759431baf4c8330da79e9a1a839dc47d85.tar.gz
moa-id-spss-94b921759431baf4c8330da79e9a1a839dc47d85.tar.bz2
moa-id-spss-94b921759431baf4c8330da79e9a1a839dc47d85.zip
update TSL fixup filter
> fix wrong encoded Id attributes in TSL root element
Diffstat (limited to 'spss')
-rw-r--r--spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/tsl/utils/TSLImportFromFileContext.java3
1 files changed, 2 insertions, 1 deletions
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.")) {