Skip to content

OPENNLP-1819: Align DictionaryEntryPersistor XML parsing with XmlUtil#1019

Merged
mawiesne merged 1 commit intomainfrom
OPENNLP-1819
Apr 17, 2026
Merged

OPENNLP-1819: Align DictionaryEntryPersistor XML parsing with XmlUtil#1019
mawiesne merged 1 commit intomainfrom
OPENNLP-1819

Conversation

@rzo1
Copy link
Copy Markdown
Contributor

@rzo1 rzo1 commented Apr 14, 2026

Replace the local SAXParserFactory in DictionaryEntryPersistor with the shared XmlUtil.createSaxParser() helper so all SAX parsing in the runtime goes through a single, consistently configured entry point. Harden XmlUtil.createSaxParser() to enable namespace awareness and disable DOCTYPE/external entity processing by default.

@rzo1 rzo1 requested review from atarora, jzonthemtn and mawiesne April 14, 2026 17:14
@rzo1 rzo1 self-assigned this Apr 14, 2026
@mawiesne mawiesne changed the title OPENNLP-1819 - Align DictionaryEntryPersistor XML parsing with XmlUtil OPENNLP-1819: Align DictionaryEntryPersistor XML parsing with XmlUtil Apr 14, 2026
@subbudvk
Copy link
Copy Markdown
Contributor

subbudvk commented Apr 16, 2026

Looks good, thanks. Can we please get this merged and released?

@rzo1 rzo1 requested a review from mawiesne April 17, 2026 09:53
Copy link
Copy Markdown
Contributor

@atarora atarora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Richard !

@mawiesne mawiesne merged commit b85e45f into main Apr 17, 2026
9 checks passed
@mawiesne mawiesne deleted the OPENNLP-1819 branch April 18, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants