Revision 081c8b8b
Added by Andreas Müller about 12 years ago
cdm-eflora/src/main/java/eu/etaxonomy/cdm/io/eflora/EfloraImportBase.java | ||
---|---|---|
41 | 41 |
protected Element getBodyElement(EfloraImportConfigurator config){ |
42 | 42 |
Element root = config.getSourceRoot(); |
43 | 43 |
|
44 |
if (! "body".equalsIgnoreCase(root.getName())){
|
|
45 |
logger.error("Root element is not 'body'");
|
|
44 |
if (! "publication".equalsIgnoreCase(root.getName())){
|
|
45 |
logger.error("Root element is not 'publication'");
|
|
46 | 46 |
return null; |
47 | 47 |
} |
48 | 48 |
//TODO prevent multiple elements |
Also available in: Unified diff
add flore du gabon