private TransactionSubsystemElementParser() {
}
public static TransactionSubsystemElementParser getInstance() {
return INSTANCE;
}
<BUG>public void readElement(XMLExtendedStreamReader reader, List<? super AbstractSubsystemUpdate<TransactionsSubsystemElement, ?>> updates)
throws XMLStreamException {
if (reader.getAttributeCount() > 0) {</BUG>
throw ParseUtils.unexpectedAttribute(reader, 0);
<BUG>}
RecoveryEnvironmentElement recoveryEnvironmentElement = null;
CoreEnvironmentElement coreEnvironmentElement = null;
CoordinatorEnvironmentElement coordinatorEnvironmentElement = null;
ObjectStoreEnvironmentElement objectStoreEnvironmentElement = null;</BUG>
while (reader.hasNext() && reader.nextTag() != END_ELEMENT) {

private TransactionSubsystemElementParser() {
}
public static TransactionSubsystemElementParser getInstance() {
return INSTANCE;
}
public void readElement(final XMLExtendedStreamReader reader, final ParseResult<ExtensionContext.SubsystemConfiguration<TransactionsSubsystemElement>> result) throws XMLStreamException {
List<AbstractSubsystemUpdate<TransactionsSubsystemElement, ?>> updates = new ArrayList<AbstractSubsystemUpdate<TransactionsSubsystemElement,?>>();
if (reader.getAttributeCount() > 0) {
throw ParseUtils.unexpectedAttribute(reader, 0);
}
final TransactionSubsystemAdd add = new TransactionSubsystemAdd();
final EnumSet<Element> required = EnumSet.of(Element.RECOVERY_ENVIRONMENT, Element.CORE_ENVIRONMENT);
final EnumSet<Element> encountered = EnumSet.noneOf(Element.class);
while (reader.hasNext() && reader.nextTag() != END_ELEMENT) {
