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

Get away from XML DOM #47

Closed
dnfield opened this issue Aug 10, 2018 · 0 comments · Fixed by #85
Closed

Get away from XML DOM #47

dnfield opened this issue Aug 10, 2018 · 0 comments · Fixed by #85

Comments

@dnfield
Copy link
Owner

dnfield commented Aug 10, 2018

Ongoing effort in the parsing_rewrite branch

Long been desired to not use a DOM interface - it bloats up memory usage, creates unnecessary objects, and very easily allows for unintentional object retention. I made some effort to avoid doing any backreferencing of XML so that a forward-only SAX or .NET style model could be used.

This is becoming more important to me as I look at doing code generation support - the parsing logic is scattered all over right now and hard to adapt to different output models. While taking care of that, mgiht as well bite the bullet and either use the new SAX interface in dart-xml or use a push style model (which might be a bit cleaner) that I'm working on.

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.

1 participant