Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-248

report Ant-task doesn't call init() on the internal XSLTProcess

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.1
    • 1.4-RC1
    • Ant
    • None

    Description

      The report task doesn't call the init() method on the internal XSLTProcess instance.
      This results in an unitialized XMLCatalog and could cause failures in custom stylesheets.

      The fix is as follows (sorry but I cannot create a patch right now):

      Add "xslt.init();" to the genreport and gengraph methods.

      For instance:

      XSLTProcess xslt = new XSLTProcess();
      xslt.setTaskName(getTaskName());
      xslt.setProject(getProject());
      xslt.setBasedir(cache);
      xslt.init(); // ADD THIS

      Attachments

        Activity

          People

            maartenc Maarten Coene
            maartenc Maarten Coene
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: