public void endDocument() throws SAXException { super.endDocument(); if( seenBindings && version==null ) { // if we see a binding declaration but not version attribute SAXParseException e = new SAXParseException(WsdlMessages.INTERNALIZER_VERSION_NOT_PRESENT(), rootTagStart); getErrorHandler().error(e); } // if present, the value must be >= 2.0 if( version!=null && !VERSIONS.contains(version) ) { SAXParseException e = new SAXParseException(WsdlMessages.INTERNALIZER_INCORRECT_VERSION(), rootTagStart); getErrorHandler().error(e); } }
public void endDocument() throws SAXException { super.endDocument(); if( seenBindings && version==null ) { // if we see a binding declaration but not version attribute SAXParseException e = new SAXParseException(WsdlMessages.INTERNALIZER_VERSION_NOT_PRESENT(), rootTagStart); getErrorHandler().error(e); } // if present, the value must be >= 2.0 if( version!=null && !VERSIONS.contains(version) ) { SAXParseException e = new SAXParseException(WsdlMessages.INTERNALIZER_INCORRECT_VERSION(), rootTagStart); getErrorHandler().error(e); } }
public void endDocument() throws SAXException { super.endDocument(); if( seenBindings && version==null ) { // if we see a binding declaration but not version attribute SAXParseException e = new SAXParseException(WsdlMessages.INTERNALIZER_VERSION_NOT_PRESENT(), rootTagStart); getErrorHandler().error(e); } // if present, the value must be >= 2.0 if( version!=null && !VERSIONS.contains(version) ) { SAXParseException e = new SAXParseException(WsdlMessages.INTERNALIZER_INCORRECT_VERSION(), rootTagStart); getErrorHandler().error(e); } }
public void endDocument() throws SAXException { super.endDocument(); if( seenBindings && version==null ) { // if we see a binding declaration but not version attribute SAXParseException e = new SAXParseException(WsdlMessages.INTERNALIZER_VERSION_NOT_PRESENT(), rootTagStart); getErrorHandler().error(e); } // if present, the value must be >= 2.0 if( version!=null && !VERSIONS.contains(version) ) { SAXParseException e = new SAXParseException(WsdlMessages.INTERNALIZER_INCORRECT_VERSION(), rootTagStart); getErrorHandler().error(e); } }