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 custom xml.Decoder to be used when creating a new XmlPullParser #10

Open
bluemods opened this issue Nov 10, 2023 · 1 comment
Open

Comments

@bluemods
Copy link

bluemods commented Nov 10, 2023

My use case stands to benefit from passing in an custom XML decoder, but since the decoder field is lowercase, I can't instantiate it outside of the package and I can't pass a custom decoder.

See here for an example:
https://github.com/bluemods/kik-go-proxy/blob/e9db8eef9aaa59ce3c102a9402fa9181d1f17bfe/node.go#L57C8-L57C8

I want to use "k" as an argument to AutoClose to fix my issue, but I can't.

@bluemods
Copy link
Author

I ended up fixing it, but it still may be something to add to this repo, if the maintainers are interested.

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

No branches or pull requests

1 participant