From f173187c23020ce0ded8a07a93546bef46f98edb Mon Sep 17 00:00:00 2001 From: Lyn Elisa Goltz Date: Tue, 24 Sep 2024 12:01:03 +0200 Subject: [PATCH] #10003 - fixed nilReason value --- .../src/main/java/org/deegree/gml/feature/GMLFeatureWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deegree-core/deegree-core-base/src/main/java/org/deegree/gml/feature/GMLFeatureWriter.java b/deegree-core/deegree-core-base/src/main/java/org/deegree/gml/feature/GMLFeatureWriter.java index 2bdc28cc1b..f40b55748e 100644 --- a/deegree-core/deegree-core-base/src/main/java/org/deegree/gml/feature/GMLFeatureWriter.java +++ b/deegree-core/deegree-core-base/src/main/java/org/deegree/gml/feature/GMLFeatureWriter.java @@ -491,7 +491,7 @@ private void writeNilAttributes(Map attributes) throws XM writeAttributeWithNS(XSI_NIL.getNamespaceURI(), XSI_NIL.getLocalPart(), "true"); PrimitiveValue value = attributes.get(NIL_REASON); if (value != null) - writeAttributeWithNS(NIL_REASON.getNamespaceURI(), NIL_REASON.getLocalPart(), "true"); + writeAttributeWithNS(NIL_REASON.getNamespaceURI(), NIL_REASON.getLocalPart(), value.getAsText()); } private boolean excludeByTimeSliceFilter(Property property) {