clearAllFields();
}
@Override
public void startElement(String uri, String localName, String qName,
Attributes attributes) throws SAXException {
<BUG>if (isWithinElement(qName, mainIdFieldName, ELEM_HEADER)) {
</BUG>
this.currentValue = new StringBuilder();
<BUG>} else if (isWithinElement(qName, ELEM_IDENTIFIER, ELEM_RESOURCE)) {
</BUG>
this.idType = attributes.getValue(ATTRIBUTE_ID_TYPE).toLowerCase();

clearAllFields();
}
@Override
public void startElement(String uri, String localName, String qName,
Attributes attributes) throws SAXException {
if (isWithinElement(localName, mainIdFieldName, ELEM_HEADER)) {
this.currentValue = new StringBuilder();
} else if (isWithinElement(localName, ELEM_IDENTIFIER, ELEM_RESOURCE)) {
