-
Notifications
You must be signed in to change notification settings - Fork 728
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
xml_node is distroyed after loading #71
Comments
Isn't that because the doc has already been destructed? If you make the class myxmltool
}; jima On Fri, Dec 4, 2015 at 8:39 AM, changshen notifications@github.com wrote:
|
xml_document object controls the lifetime of the tree; xml_node objects are just handles to nodes of that tree. Destroying the xml_document object leads to the entire tree being destroyed; it's invalid to use the nodes from the tree after that. This is described in more detail in this section of the manual: http://pugixml.org/docs/manual.html#dom.cpp. |
Thanks zeux and jima |
The text was updated successfully, but these errors were encountered: