try {
XMLInputFactory factory = XMLInputFactory.newInstance();
factory.setProperty(XMLInputFactory.IS_COALESCING, Boolean.FALSE);
XMLStreamReader reader = factory.createXMLStreamReader(in);
reader.require(START_DOCUMENT, null, null);
Map<String, String> configAttributes = new HashMap<String, String>();
configAttributes.put("default-supplement", null);
ParsingUtils.getNextElement(reader, "config", configAttributes, false);
extensionModule = ParsingUtils.getNextElement(reader, "extension-module", null, true);
ParsingUtils.getNextElement(reader, "subsystem", null, false);