while (commands.hasMoreElements()) {
int id = ((Integer) commands.nextElement()).intValue();
if (id == CommandConstants.ATTRIBUTES) {
currentCommand.submitAttributes((Hashtable) attributes.nextElement());
} else if (id == CommandConstants.CHARACTERS) {
currentCommand.submitCharacters((String) characters.nextElement());
} else if (id > 0) {
if (!currentCommand.submitInstruction(id)) {
super.commandConstants.setContextNode(contextNode);