-
Notifications
You must be signed in to change notification settings - Fork 70
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
Failure to parse xml attributes in tags #9
Comments
You are correct, parsing XML with attributes is not supported by xml.c Implementing attribute parsing shouldn't be that complicated but is currently not in the scope of this XML subset parser (nevertheless, patches are welcome!). The API could be extended by That being said, I'm leaving this ticket open as an reminder to specify the XML subset supported by xml.c :) |
it cannot parse comments as well.. if i have comments in the document, it crashes with a coredump.. |
@devnaga thank you very much for your interest in this project! Currently parsing comments is not supported, but you are correct it should be (they should be stripped). I will open a separate issue for that |
It looks like ooxi/xml.c is unable to parse attributes in tags. It fails with "xml_parser_error at 50:25: xml_parse_node::tag missmatch" and it is because it assumes that the value of tag_open = tag_close without stripping out the attributes before comparing.
The text was updated successfully, but these errors were encountered: