GNOME Bugzilla – Bug 733900
XML element children functions don't support XML fragments
Last modified: 2014-08-05 11:30:50 UTC
The suite of functions used for finding and traversing element functions don't seem to support XML_DOCUMENT_FRAG_NODE but I don't think there is a reason not to. I would expect xmlChildElementCount, xmlFirstElementChild and xmlLastElementChild to support this type of parent. This would allow easy traversal of element children from a fragment (in addition to the support for more fully fledged document types).
Created attachment 281915 [details] [review] Proposed patch to support element traversal in fragments
Makes sense, applied and pushed as git commit 1db9969966aac1e844372e9b3288653a296e0365 thanks, Daniel