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

Streaming API on the roadmap? #15

Open
garborg opened this issue Jan 5, 2015 · 3 comments
Open

Streaming API on the roadmap? #15

garborg opened this issue Jan 5, 2015 · 3 comments

Comments

@garborg
Copy link
Contributor

garborg commented Jan 5, 2015

I think OpenStreetMap.jl is switching over to LibExpat.jl for now to allow users to parse larger extracts -- just made me curious whether anyone had plans for this.

@tkelman
Copy link
Contributor

tkelman commented Jan 6, 2015

Presumably that kind of API exists in libxml2, it's just a matter of wrapping it? Just out of ignorance, is a streaming API related to / similar / not at all the same thing as xpath queries? I pretty frequently do xpath queries through libxml2's command-line executable xmllint, but for Julia use that's more commonly done via libexpat I believe.

It is a little annoying that there are so many different widely-used open-source XML libraries out there, and we happen to have a different subset of 2 of them wrapped in different Julia packages with different API's and functionality. I couldn't see in LibExpat.jl a straightforward way of creating a new xml document from a manually-assembled element tree for example.

@garborg
Copy link
Contributor Author

garborg commented Jan 6, 2015

Looks like this is the API: http://xmlsoft.org/xmlreader.html

@lindahua
Copy link
Contributor

lindahua commented Mar 9, 2015

I don't have enough time to add new features to this package in near term. However, as this package now belongs to JuliaLang. I think other contributors may be interested in this.

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

No branches or pull requests

3 participants