Commit 8d4bfd61 authored by descamps's avatar descamps
Browse files

KDE - 27/04/2022 - Fix dataType

parent 7529ff02
......@@ -121,6 +121,11 @@ public class BaliseXML {
if (null != node.getValue() && !node.getValue().equals(UNDEFINED)) {
valueRNG = new ValueXML();
valueRNG.setValue(node.getValue());
} else if (!node.getName().isEmpty() && node.getName() != null) {
dataRNG = new DataXML();
if(RNGConstants.getTypesMap().get(node.getName()) != null) {
dataRNG.setDataType(RNGConstants.getTypesMap().get(node.getName()).getLabel());
}
} else if (node.getName().equals("Language")) {
dataRNG = new DataXML();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment