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

Allow adding to message set without recursively opening includes #48

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

ThomasDebrunner
Copy link
Contributor

Adds a new optional bool argument to MessageSet::addFromXML and MessageSet::addFromXMLString that control whether files included with the <include tags should be loaded or not.

This is useful if someone wants to load a higher level XML only, but doesn't care about the messages from lower level included sets. Also, when adding from inline string, it is unexpected that the library would try to open files, in this case, the default is set to false.

…ening of sub-files.

This is especially not wanted when loading messages from inline strings.
@ThomasDebrunner ThomasDebrunner merged commit 1797318 into main Jun 28, 2024
4 checks passed
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