Closed GoogleCodeExporter closed 9 years ago
With what flags are you loading the document?
Default mode (parse_default) skips comments, so you should use either
parse_default | parse_comments flag combination when loading a document or
parse_full which includes comment parsing (along with other nodes like
processing instructions and document type declarations).
Original comment by Where...@gmail.com
on 6 Mar 2011 at 5:27
Thanks for the response, N.
I'll add that this is a documented behaviour - you can consult the manual (
http://pugixml.googlecode.com/svn/tags/latest/docs/manual/dom.html#manual.dom.tr
ee ) to see if the needed node type is recognized by default, and the override
flag.
Original comment by arseny.k...@gmail.com
on 8 Mar 2011 at 5:11
Original issue reported on code.google.com by
Maveric1...@gmail.com
on 5 Mar 2011 at 7:58