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

shumway's xml parser blows up on a BOM, flash does not #2

Merged
merged 2 commits into from Mar 12, 2018

Conversation

Projects
None yet
2 participants
@Breton

Breton commented Mar 12, 2018

Found this when testing the nitrome game "silly sausage" that has its level data baked in as XML strings, the classic utf-8 with BOM garbage at the beginning tripped up shumway. Fixing this gets it to load the first level.

Breton and others added some commits Mar 12, 2018

Breton Slivka
added trim to xml string, because the xml parser blows up on encounte…
…ring a BOM in an xml string but flash doesn't
@ivanpopelyshev

This comment has been minimized.

Owner

ivanpopelyshev commented Mar 12, 2018

That's good one.

@ivanpopelyshev ivanpopelyshev merged commit b682a7c into ivanpopelyshev:master Mar 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment