Limitation in IF-MAP XML to Neo4J key/value mapping
The mapping from incoming IF-MAP XML documents to the internal datamodel
with key/value pairs is lossy.
Javadoc quote from de.hshannover.f4.trust.visitmeta.dataservice.xml.SimpleKeyValueExtractor:
Extracts information from XML documents into a set of key/value pairs.
A SimpleKeyValueExtractor is only capable of extracting information
from "simple" XML documents. "Simple" means:
There is always only one XML element with the same name at the same level.
Bad:
<foo>
<bar>...</bar>
<bar>...</bar> <!-- duplicate element at the same level -->
</foo>
OK:
<foo>
<bar>...</bar>
</foo>
The current implementation only stores the value of the last element of a sequence of elements with the same tag-name at the same level.
Regarding standard metadata (for network security) this could be a problem with location metadata (may contain a sequence of location-information) and wlan-information metadata (may contain a sequence of ssid-unicast-security).
Limitation in IF-MAP XML to Neo4J key/value mapping
The mapping from incoming IF-MAP XML documents to the internal datamodel
with key/value pairs is lossy.
Javadoc quote from
de.hshannover.f4.trust.visitmeta.dataservice.xml.SimpleKeyValueExtractor:The current implementation only stores the value of the last element of a sequence of elements with the same tag-name at the same level.
Regarding standard metadata (for network security) this could be a problem with
locationmetadata (may contain a sequence oflocation-information) andwlan-informationmetadata (may contain a sequence ofssid-unicast-security).