Revision 27a967be
Added by Andreas Müller almost 13 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/markup/MarkupDocumentImport.java | ||
---|---|---|
201 | 201 |
//attributes |
202 | 202 |
StartElement element = currentEvent.asStartElement().asStartElement(); |
203 | 203 |
Map<String, javax.xml.stream.events.Attribute> attributes = getAttributes(element); |
204 |
// if (attributes.hasNext()){ |
|
205 |
// handleUnexpectedAttributes(element.getLocation(), attributes); |
|
206 |
// } |
|
204 |
handleUnexpectedAttributes(element.getLocation(), attributes); |
|
207 | 205 |
|
208 | 206 |
while (reader.hasNext()){ |
209 | 207 |
XMLEvent event = readNoWhitespace(reader); |
Also available in: Unified diff
no error version for MarkupDocumentImport