KEMBAR78
COMMON: Add ability to handle unknown xml keys by mduggan · Pull Request #4690 · scummvm/scummvm · GitHub
Skip to content

Conversation

@mduggan
Copy link
Contributor

@mduggan mduggan commented Feb 6, 2023

For Tetraedge version of Syberia 2 I have a need to parse an xml file which has many key names - the name of the key is used to create a mapping.

Rather than add dozens of functions, I added a simple way of customizing unknown key handling. This should be completely backward-compatible as the default behaviour is still to raise a parsing error.

@sev-
Copy link
Member

sev- commented Feb 7, 2023

Yep, good and understandable change. Merging.

@sev- sev- merged commit cd09481 into scummvm:master Feb 7, 2023
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