} else {
throwEndTagNameError(ns, tag);
}
case IXMLReader.START_TAG:
throw new JiBXException("Expected " +
buildNameString(ns, tag) + " end tag, " +
"found " + currentNameString() + " start tag " +
buildPositionString());
case IXMLReader.END_DOCUMENT:
throw new JiBXException("Expected " +
buildNameString(ns, tag) + " end tag, " +
"found end of document " + buildPositionString());
}
return null;