You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Martin Wiesner (Jira)" <ji...@apache.org> on 2023/03/03 20:02:00 UTC

[jira] [Created] (OPENNLP-1476) Modernize DictionaryEntryPersistor to create XMLReader via javax.xml.parsers.SAXParserFactory

Martin Wiesner created OPENNLP-1476:
---------------------------------------

             Summary: Modernize DictionaryEntryPersistor to create XMLReader via javax.xml.parsers.SAXParserFactory
                 Key: OPENNLP-1476
                 URL: https://issues.apache.org/jira/browse/OPENNLP-1476
             Project: OpenNLP
          Issue Type: Improvement
    Affects Versions: 2.1.0, 2.1.1
            Reporter: Martin Wiesner
            Assignee: Martin Wiesner
             Fix For: 2.1.2


Atm, {{org.xml.sax.helpers.XMLReaderFactory}} is used inĀ {{DictionaryEntryPersistor}}. However, this the use of XMLReaderFactory is deprecated since Java 9, that is:
{code:java}
Deprecated
It is recommended to use javax.xml.parsers.SAXParserFactory instead.
{code}

Aim(s):
* Switch to {{SAXParserFactory}} to obtain instances of {{XMLReader}} to modern way.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)