Tony Kelman
Tony Kelman
Not a bad idea, I guess. I'm not sure exactly which functions you'll need to implement to do this, maybe something with `showcompact`? I'd review a PR if you or...
Hard to say whether @digital-carver's errors are at all related here, but I suspect the "tests" referred to in the comment in https://github.com/JuliaLang/LightXML.jl/commit/b33d030cb052f05d528a7355f2237471103a394c were not run on windows. We should...
What does this accomplish, why is it necessary, what are the impacts? If there's a nonzero cost to doing this by default so you may have a reason to want...
https://github.com/JuliaLang/LightXML.jl/blob/d31f1f43dc04fd1546ec5e4ad039c6f1981892fd/src/document.jl#L103 `XMLDocument(p)` is creating an XML document. So the word "directly" should probably be adjusted. If you know you're never adding children or other references to the same underlying pointer...
My concern is if you do `parse_string` to create an initial `XMLDocument`, then add some children to it, if it has a finalizer and the Julia `XMLDocument` object goes out...
I don't know exactly how to answer your question @yuyichao. libxml2 is a C library and until someone implements a full reference count system here (which is what I believe...
> can a xml node belong to multiple xml document simultaneously Looks like. ``` julia> xdoc = XMLDocument() julia> xroot = create_root(xdoc, "States") julia> xs1 = new_child(xroot, "State") julia> xdoc2...
That's expected, `xmlFreeDoc` frees all children http://xmlsoft.org/html/libxml-tree.html#xmlFreeDoc
It might be one of those things that the library lets you do but you're not supposed to do it? If we want to do something clever and automatic here,...
Pull requests encouraged.