Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-5650

Add xercesImpl to scripting NAR for Jython 2.7.1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.8.0
    • Extensions
    • None

    Description

      NIFI-4301 bumped the version of Jython from Jython 2.7.0 to 2.7.1 in order to get a fix related to the os.getpid() method. However Jython 2.7.1 does not include Xerces (which provides the SAXParser for XML parsing), so although one bug is fixed, a capability has been degraded.

      Recommend explicitly adding Xerces as a dependency to the scripting NAR, and make sure the unit tests and such run for other languages, so as not to introduce a classloading issue if some engine brings their own Xerces shaded into the engine's JAR(s), for example.

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              mattyb149 Matt Burgess
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: