Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/Importer.java @ 8821:a02204997546
Fix D4E framework API-call.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 15 May 2017 16:36:39 +0200 |
parents | 9d2e69f971f5 |
children | 3ecf1f76b2b8 |
comparison
equal
deleted
inserted
replaced
8820:6d25d8f81168 | 8821:a02204997546 |
---|---|
116 if (!(file.isFile() && file.canRead())) { | 116 if (!(file.isFile() && file.canRead())) { |
117 log.warn("annotation type file '" + file + "' is not readable."); | 117 log.warn("annotation type file '" + file + "' is not readable."); |
118 return null; | 118 return null; |
119 } | 119 } |
120 | 120 |
121 Document rules = XMLUtils.parseDocument(file); | 121 Document rules = XMLUtils.parseDocument(file, false, null); |
122 | 122 |
123 if (rules == null) { | 123 if (rules == null) { |
124 log.warn("cannot parse annotation types file."); | 124 log.warn("cannot parse annotation types file."); |
125 return null; | 125 return null; |
126 } | 126 } |