Skip to content

Add SAXPARSERFACTORY_CLASS and XMLREADER_SUPPLIER features #92

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

ndw
Copy link
Collaborator

@ndw ndw commented Feb 15, 2022

These features allow you to specify how the resolver gets a parser if it needs one. At the API level, XMLREADER_SUPPLIER lets you construct an XMLReader when required and can be configured with a lambda. The SAXPARSERFACTORY_CLASS uses the "class with a zero argument constructor" approach which allows it to be specified as a system property or in a configuration file.

Close #91

@ndw ndw merged commit 174a214 into xmlresolver:main Feb 15, 2022
@ndw ndw deleted the fix-spf branch February 15, 2022 12:33
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.

Provide a mechanism for configuring the SAXParserFactory
1 participant