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

ignore comments in XML plist files (fixes #44) #45

Merged
merged 1 commit into from
Jan 21, 2025
Merged

Conversation

korylprince
Copy link
Contributor

Override the default decoder's Token function to ignore any comment elements. This also includes a test case.

This fixes #44.

@jessepeterson
Copy link
Member

Is there any other token we should be handling (or masking)? Otherwise lgtm!

@korylprince
Copy link
Contributor Author

I can't see any other types in encoding/xml that we're not already handling.

@korylprince korylprince merged commit b1a8d76 into main Jan 21, 2025
6 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.

plist: unexpected element on xml.Comment
2 participants