} else if (XmlUtil.matchesTagNS(e2, WSDLConstants.QNAME_TYPES)) { if (gotTypes && !options.isExtensionMode()) { errReceiver.error(forest.locatorTable.getStartLocation(e2), WsdlMessages.PARSING_ONLY_ONE_TYPES_ALLOWED(Constants.TAG_DEFINITIONS)); return null;
} else if (XmlUtil.matchesTagNS(e2, WSDLConstants.QNAME_TYPES)) { if (gotTypes && !options.isExtensionMode()) { errReceiver.error(forest.locatorTable.getStartLocation(e2), WsdlMessages.PARSING_ONLY_ONE_TYPES_ALLOWED(Constants.TAG_DEFINITIONS)); return null;
} else if (XmlUtil.matchesTagNS(e2, WSDLConstants.QNAME_TYPES)) { if (gotTypes && !options.isExtensionMode()) { errReceiver.error(forest.locatorTable.getStartLocation(e2), WsdlMessages.PARSING_ONLY_ONE_TYPES_ALLOWED(Constants.TAG_DEFINITIONS)); return null;
} else if (XmlUtil.matchesTagNS(e2, WSDLConstants.QNAME_TYPES)) { if (gotTypes && !options.isExtensionMode()) { errReceiver.error(forest.locatorTable.getStartLocation(e2), WsdlMessages.PARSING_ONLY_ONE_TYPES_ALLOWED(Constants.TAG_DEFINITIONS)); return null;