Re: [xml] xmlDocPtr returned by xmlSAXParseMemory()



Hi Daniel!

On Wed, 28 Aug 2002, Daniel Veillard wrote:

[...] 
  Read the code !!!

xmlDocPtr xmlRecoverMemory(const char *buffer, int size) {
   return(xmlSAXParseMemory(NULL, buffer, size, 1));
}

I came accross that piece, which, if I get it right, clearly states that
the tree is constructed using the DOM parser (since the first argument
to xmlSAXParseMemory is NULL).

Concerning my original question: It seems like this was a
misunderstanding. So, I will try to put it in a different way: If the tree
is built as in libglade/test/saxp.c or in testSAX.c, does the returned
xmlDocPtr remain untouched all the time? (That's what I meant by referring
to "proprietary" tree structures).

Concerning the mail server stuff ("blocked mail"): I will talk to our
admins. AFAIK, they set up the mail server to reject any host/domain that
got listed in spamcop.net. Please reply to the list only in the
meantime. Sorry for the inconvenience.

Thanks for any advice!

Greetings,

        Holger





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