Skip to content
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

Support option XMLResource.OPTION_RESOLVE_ENTITIES #11

Merged
merged 1 commit into from
Aug 1, 2023
Merged

Conversation

merks
Copy link
Contributor

@merks merks commented Aug 1, 2023

This option is false by default and will prevent XMLHandler.resolveEntity(String, String) from loading external entities.

#10

@merks
Copy link
Contributor Author

merks commented Aug 1, 2023

@jukzi

I did the changes via a PR instead of a direct commit. Does this look okay?

@jukzi
Copy link
Contributor

jukzi commented Aug 1, 2023

It would be good if the commit message contains a documentation how the caller/user can enable old behavior.

This option is false by default and will prevent
XMLHandler.resolveEntity(String, String) from loading external entities.

#10
@merks
Copy link
Contributor Author

merks commented Aug 1, 2023

It would be good if the commit message contains a documentation how the caller/user can enable old behavior.

Any developer using EMF will generally understand how to use load options. The user can do nothing...

@merks
Copy link
Contributor Author

merks commented Aug 1, 2023

@jukzi

I think this is done.

I will probably want to produce a milestone build and contribute it to the platform and for m2...

@jukzi
Copy link
Contributor

jukzi commented Aug 1, 2023

I tested the change and confirm eclipse Editor is much faster with this change for files that refer to external entities.

@merks merks merged commit c858eac into master Aug 1, 2023
@merks merks deleted the issue-10 branch August 1, 2023 11:41
@jukzi
Copy link
Contributor

jukzi commented Aug 1, 2023

Thanks, Ed

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.

2 participants