Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-1476

Modernize DictionaryEntryPersistor to create XMLReader via javax.xml.parsers.SAXParserFactory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0, 2.1.1
    • 2.2.0
    • None
    • None

    Description

      Atm, org.xml.sax.helpers.XMLReaderFactory is used inĀ DictionaryEntryPersistor. However, this the use of XMLReaderFactory is deprecated since Java 9, that is:

      Deprecated
      It is recommended to use javax.xml.parsers.SAXParserFactory instead.
      

      Aim(s):

      • Switch to SAXParserFactory to obtain instances of XMLReader to modern way.

      Attachments

        Activity

          People

            mawiesne Martin Wiesner
            mawiesne Martin Wiesner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: