private void getEndElement(String name) throws MiniXMLException {
		MiniXMLToken oMiniXMLToken;
		boolean bEnd = false;
		// String attrName, attrValue;
		MiniXMLEndElement element = new MiniXMLEndElement(
				automaton.getStateInt(), name);
		automaton.endElement(name);
		// System.out.print("</" + name);
		do {
			oMiniXMLToken = oTokenParser.getToken();
			switch (oMiniXMLToken.getType()) {
			case MiniXMLTokenParser.tError:
				throw new MiniXMLException(
						MiniXMLException._MXMLE_TGE_END_ELEMENT);
			case MiniXMLTokenParser.tTagEnd:
				handler.endElement(element);
				// System.out.print(">" + oMiniXMLToken.getValue());
				bEnd = true;
				break;
			default:
				throw new MiniXMLException(
						MiniXMLException._MXMLE_TGE_UKNOWN_END_TOKEN);
			}
		} while (!bEnd);
	}