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

ISO-8859-1 encoded XSD failes. #6

Closed
kranzo opened this issue Oct 5, 2020 · 2 comments · Fixed by #69
Closed

ISO-8859-1 encoded XSD failes. #6

kranzo opened this issue Oct 5, 2020 · 2 comments · Fixed by #69

Comments

@kranzo
Copy link

kranzo commented Oct 5, 2020

While processing nested XSD (all ISO-8859-1) i get the following error.

Error decoding XSD: xml: encoding "ISO-8859-1" declared but Decoder.CharsetReader is nil

with some time or some hints where to search i'm happy to add a PR to fix this.

@isimluk
Copy link
Member

isimluk commented Oct 5, 2020

Hello @kranzo, Thank You for the report. Are You willing to share a reproducer? Perhaps a small cut/subset of Your XSD is enough?

@redhatrises
Copy link

Looks like CharsetReader may need to be used. See golang/go#8937

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 a pull request may close this issue.

3 participants