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

Strange error when passing malformed xml #78

Open
deemytch opened this issue Jun 20, 2017 · 0 comments · May be fixed by #82
Open

Strange error when passing malformed xml #78

deemytch opened this issue Jun 20, 2017 · 0 comments · May be fixed by #82

Comments

@deemytch
Copy link

data = "<?xml version=\"1.0\" encoding=\"utf-8\">\n<request>\n <opcode>0</opcode>\n</request>\n" Nori.new.parse data NoMethodError: undefined method 'add_node' for nil:NilClass
Question sign is omitted at the end of header
Expected kind of "Malformed XML" or "Parsing error', but got a syntax error exception.

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

Successfully merging a pull request may close this issue.

1 participant