Skip to content
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.

Parse XML correctly #2

Open
skreutzer opened this issue Jan 25, 2018 · 0 comments
Open

Parse XML correctly #2

skreutzer opened this issue Jan 25, 2018 · 0 comments

Comments

@skreutzer
Copy link
Member

Make sure that the XML input is properly parsed. The current implementation is not guaranteed to handle the input correctly, as there are specific XML parsing rules defined, which aren't necessarily reflected in the code for now. There could also be an alternative mode which doesn't follow the official, standardized parsing rules, but complains about all < and > which aren't part of tags even where they would otherwise be allowed by the standard. Furthermore, parsing names could be an extra method in order to reflect rules like tag names aren't allowed to be empty, start with a number, etc. It would be a good idea to look at BNF grammar for XML.

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

No branches or pull requests

1 participant