500 jsp Page throws an error because it cannot resolve the dtd for the entity-engine.xml file..... (most corps are behind a firewall)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 3.3.1
    • Affects Version/s: 3.3
    • Component/s: None
    • 3.03

      I did a quick fix - I dont know yet if it works:

      private Document getDocument(InputStream is) throws DocumentException
      {
      SAXReader reader = new SAXReader();
      EntityResolver entityResolver = new EntityResolver() {
      public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException

      { return new InputSource(new ByteArrayInputStream("".getBytes())); }

      };
      reader.setEntityResolver(entityResolver);
      return reader.read(is);
      }

            Assignee:
            AntonA
            Reporter:
            Nick Minutello
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: