On Sat, Aug 28, 2010 at 02:36:09PM -0700, JerryWRice wrote:
Bjoem,
You must be psychic, as I was in fact using
xmlTextReaderCurrentNode() to get the current node from the reader
(prior to invoking xmlChildElementCount()). I understand your
explanation, and upon changing my code to
Hello,
This is my first posting, but I've been using 'libxml2' on Linux
for about a year. During some of my recent testing, I've encountered
something that appears to be a problem. While parsing what should be a
valid XML document from a 'c' program (not c++), I've found that the
* JerryWRice wrote:
My program places this XML document into a zero-terminated char text
buffer and creates a reader for it using xmlReaderForDoc(). Then I
perform a series of xmlTextReaderRead() calls to advance my current
node to element params on line 3. I've confirmed I'm at the opening
Bjoem,
You must be psychic, as I was in fact using
xmlTextReaderCurrentNode() to get the current node from the reader
(prior to invoking xmlChildElementCount()). I understand your
explanation, and upon changing my code to invoke
xmlTextReaderExpand(), I now receive the correct child