private final void parseEndTag() throws IOException {
		int pos;

		read(); // '<'
		read(); // '/'
		mName = readName();
		pos = mStack.size() - 1;
		if (pos < 0) {
			fail("element stack empty"); //$NON-NLS-1$
		}
		if (mName.equals(mStack.get(pos))) {
			mStack.remove(pos);
		} else {
			fail("expected: " + mStack.get(pos)); //$NON-NLS-1$
		}
		skip();
		read('>');
	}