public boolean withinMarker(String marker) throws IOException {
		if (mType == XMLNodeType.END_TAG) {
			if (marker.equals(getMarker())) {
				next();
				return false;
			}
		} else if (mType == XMLNodeType.END_DOCUMENT) {
			fail("expected: " + XMLNodeType.END_TAG.name() + "/" + marker.substring(marker.indexOf(':') + 1)); //$NON-NLS-1$ //$NON-NLS-2$
		}
		return true;
	}