From 65e663dfee214e5fbd1656296945029138707a78 Mon Sep 17 00:00:00 2001 From: Igor Pronin Date: Wed, 4 Aug 2021 16:39:04 +0300 Subject: [PATCH] Fix: prefix generation rule while FeatureCreating. When one inherit some aixm:AbstractAixmFeature in extension, one should use aixm prefix for this feature in xsd --- .../model/rules/aixm/mapping/AIXM51_Features_MappingRule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/src/eurocontrol/swim/model/rules/aixm/mapping/AIXM51_Features_MappingRule.java b/Application/src/eurocontrol/swim/model/rules/aixm/mapping/AIXM51_Features_MappingRule.java index a3859f9..36806bf 100644 --- a/Application/src/eurocontrol/swim/model/rules/aixm/mapping/AIXM51_Features_MappingRule.java +++ b/Application/src/eurocontrol/swim/model/rules/aixm/mapping/AIXM51_Features_MappingRule.java @@ -515,7 +515,7 @@ protected org.w3c.dom.Element createFeatureType(Element feature) { extensionBaseName = umlParent.GetName() + "Type"; } - extension.setAttribute("base", getNamespacePrefixForElement(feature) + ":" + extensionBaseName); + extension.setAttribute("base", getNamespacePrefixForElement(umlParent) + ":" + extensionBaseName); } else {