Re: R: [xml] xmlDocDumpMemory

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Thu Sep 23 1999 - 11:33:52 EDT


On Thu, Sep 23, 1999 at 05:05:54PM +0200, Andrea LUCIANO wrote:
>
> ----- Original Message -----
> From: Daniel Veillard <Daniel.Veillard@w3.org>
> To: <xml@rufus.w3.org>
> Sent: Thursday, September 23, 1999 2:00 PM
> Subject: Re: [xml] xmlDocDumpMemory
>
>
> >
> > On Thu, Sep 23, 1999 at 01:01:37PM +0200, Andrea LUCIANO wrote:
> > > Does xmlDocDumpMemory return a zero terminated string?
> >
> > yes, it should :-)
> >
> > Daniel
> >
> It doesn't (in release 1.2 at least). I had to put a '\0' character at
> mem[size].
>
>
> We have successfully compiled libxml under NT, without problems (we changed
> the type CHAR in XML_CHAR because it was already used by Visual C++).
> In my opinion libxml is an excellent library, portable and easy to use. The
> DCOM component shipped with IE5 is really harder to employ and absolutly not
> portable.
> Actually I implemented an OO interface to libxml in C++ without great
> effort.

  Andrea, thanks for the feedback.

Could you Please try out 1.7.0, I made quite a lot of change in there
and getting feedback on portability is really important. Especially
new stuff like XPath implementation (requires access to infinite and
NaN floats detection) and the nanohttp (which does some socket
manipulations) are likely to requires a few tweaks to work on Windows
or non-POSIX platforms.
  ftp://rpmfind.net/pub/veillard/libxml-1.7.0.tar.gz
(maybe I will have to provide a zip at some point :-\ )

I'm really worried about the CHAR problem, because now all APIs
have been defined with CHAR, however, if this is a registered type
on Windows, I'm ready to change this to XML_CHAR (or something else
like xmlCHAR or xmlChar) and provide the compatibility on non-Windows
platforms by the way of a #define CHAR XML_CHAR . This is such a large
change that if required I would like to make rather sooner than later.

  what do people think ?

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux, WWW, rpmfind,
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | rpm2html, XML,
http://www.w3.org/People/W3Cpeople.html#Veillard | badminton, and Kaffe.
----
Message from the list xml@rufus.w3.org
Archived at : http://rufus.w3.org/veillard/XML/messages
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rufus.w3.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:47 EDT