code: public InputSource resolveEntity(String publicID, String systemID) throws SAXException, IOException {
          InputSource localFileInput = resolveLocalEntity(systemID);
          return localFileInput != null ? localFileInput : new InputSource(systemID);
      }
docs: Resolve the entity.  First try to find it locally, then fallback to the network.