while (reader.hasNext() && (reader.nextTag() != XMLStreamConstants.END_ELEMENT)) {
Element element = Element.forName(reader.getLocalName());
switch (element) {
case PROPERTIES:
builder.dataContainer().withProperties(parseProperties(reader));
break;
default:
throw ParseUtils.unexpectedElement(reader);
}
}