[
https://issues.apache.org/jira/browse/OPENNLP-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Wiesner closed OPENNLP-1476.
-----------------------------------
Resolution: Fixed
> 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
> Priority: Minor
> 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)