/** * {@inheritDoc} */ public InputSource resolveEntity(String publicId, String systemId) throws SAXException { if (this.additionalResolver != null) { try { InputSource result = this.additionalResolver.resolveEntity(publicId, systemId); if (result != null) { return result; } } catch (IOException ioe) { /**@todo Batik's SAXSVGDocumentFactory should throw IOException, * so we don't have to handle it here. */ throw new SAXException(ioe); } } return super.resolveEntity(publicId, systemId); }