Re: [xml] validate by schema works but only after reparsing ?



Parsing the data the pointer will be set properly, therefore I had have 
to save first and than reparse the data.
Is it an intentional behaviour not updating the content pointer ?
  on what kind of node ? On an element, yes ! An element content is stored
in the children list, not on content !

oups, of course, my fault. 
I went through my code and added a print statement after xmlNodeSetContent
with node->content, without thinking about the child :-)

regards,
Peter



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]