@Override public InputSource resolveEntity(String name, String publicId, String baseURI, String systemId) throws SAXException, IOException { doctype = new Doctype(name, publicId, systemId, baseURI); return new InputSource(new ByteArrayInputStream(new byte[0])); }
@Override public InputSource resolveEntity(String name, String publicId, String baseURI, String systemId) throws SAXException, IOException { doctype = new Doctype(name, publicId, systemId, baseURI); doc.setUserData(DOCTYPE_KEY_NAME, doctype, null); return new InputSource(new ByteArrayInputStream(new byte[0])); }
@Override public InputSource resolveEntity(String name, String publicId, String baseURI, String systemId) throws SAXException, IOException { doctype = new Doctype(name, publicId, systemId, baseURI); doc.setUserData(DOCTYPE_KEY_NAME, doctype, null); return new InputSource(new ByteArrayInputStream(new byte[0])); }