diff --git a/cimxml/pom.xml b/cimxml/pom.xml
index f9e349e..47088eb 100644
--- a/cimxml/pom.xml
+++ b/cimxml/pom.xml
@@ -27,7 +27,7 @@
de.soptim.opencgmes
cimxml
- 1.1.0-SNAPSHOT
+ 1.0.0-SNAPSHOT
jar
OpenCGMES - IEC61970-552 CIMXML
@@ -69,31 +69,31 @@
21
- 5.6.0
+ 6.1.0
- 4.2.2
- 1.3.4
- 7.1.1
+ 4.3.0
+ 1.4.0
+ 7.2.0
- 2.21.0
+ 2.22.0
3.20.0
- 2.0.17
- 2.25.3
+ 2.0.18
+ 2.26.0
4.13.2
- 5.22.0
+ 5.23.0
4.3.0
3.15.0
- 3.5.5
+ 3.5.6
3.4.0
- 3.11.3
+ 3.12.0
3.2.8
0.10.0
diff --git a/cimxml/src/main/java/de/soptim/opencgmes/cimxml/parser/ParserCIMXML_StAX_SR.java b/cimxml/src/main/java/de/soptim/opencgmes/cimxml/parser/ParserCIMXML_StAX_SR.java
index 329666d..e615471 100644
--- a/cimxml/src/main/java/de/soptim/opencgmes/cimxml/parser/ParserCIMXML_StAX_SR.java
+++ b/cimxml/src/main/java/de/soptim/opencgmes/cimxml/parser/ParserCIMXML_StAX_SR.java
@@ -524,8 +524,8 @@ else if ( qNameMatches(qName, dmDifferenceModel) ) {
RDFXMLparseWarning("No CimProfileRegistry has been provided, so missing datatypes in CIMXML cannot be resolved.", location);
} else {
currentDataTypeMap = cimProfileRegistry.getHeaderPropertiesAndDatatypes(versionOfCIMXML);
- if (currentDataTypeMap == null) {
- RDFXMLparseWarning("No header profile has been registered for CIM version " + versionOfCIMXML, location);
+ if (currentDataTypeMap == null || currentDataTypeMap.isEmpty()) {
+ RDFXMLparseWarning("No header profile has been registered for CIMXML version " + versionOfCIMXML, location);
}
currentListOfPropertiesNotInProfile = new HashSet<>();
}
@@ -578,7 +578,7 @@ private void initCimModelHeaderCurrentProfileAndCurrentDatatypeMap(Location loca
}
currentListOfPropertiesNotInProfile = new HashSet<>();
currentDataTypeMap = cimProfileRegistry.getPropertiesAndDatatypes(currentCimProfiles);
- if (currentDataTypeMap == null) {
+ if (currentDataTypeMap == null || currentDataTypeMap.isEmpty()) {
RDFXMLparseWarning("The profiles in the model header could not be found in the CimProfileRegistry. Profiles: " + currentCimProfiles.toString(), location);
}
}