RE: [xml] Release of libxml-2.3.4
- From: Igor Zlatkovic <izlatkovic daenet de>
- To: xml gnome org
- Subject: RE: [xml] Release of libxml-2.3.4
- Date: Sun, 11 Mar 2001 17:27:25 +0100
Okay, you are right.
In Microsoft's C library, the function is called _vsnprintf. This should be
resolved more nicely and I hope to find time for this, but for now let's do
the ugly thing:
Put the folowing onto the end of the file include/win32config.h:
#if !defined __CYGWIN__
#define vsnprintf _vsnprintf
#endif
That should do it for the moment without affecting any platform which
provides vsnprintf function. Again, this should be resolved somewhere on the
C runtime level, because Microsoft's C runtime is full of such underscored
function incarnations. One day I shall write a C header file which maps them
all to names without underscores.
Ciao
Igor
-----Original Message-----
From: ming lu [mailto:lu542 home com]
Sent: Sunday, March 11, 2001 4:59 PM
To: xml gnome org
Subject: Re: [xml] Release of libxml-2.3.4
Thank you very much for your help, but I still can't make it
work. Below is
the source code that causes trouble:
while (1) { // From the man page for vsnprintf ....
left = size - length;
/* Try to print in the allocated space. */
chars = vsnprintf(str + length, left, msg, args);
We can see that there is no #ifdefine WIN32 or something like
before it, so
we do include vsnprintf in our project, this causes a link error.
Anyone knows if there is port of vsnprintf on Win32 platform?
----- Original Message -----
From: "Igor Zlatkovic" <izlatkovic daenet de>
To: <xml gnome org>
Sent: Sunday, March 11, 2001 7:29 AM
Subject: RE: [xml] Release of libxml-2.3.4
Hello.
You are using the wrong project file and thus the wrong
C-runtime library.
Use the project file called win32/libxml2/libxml2_a.dsp. It
is the only
one
which produces something useful at the moment.
By the way, those win32/libxml2/*.dsp files got their line endings
converted
from CR+LF style to LF style somehow. That Big Bitch VC++
IDE refuses to
load such file claiming it were not a valid project file, a
behaviour
beyond
my understanding.
Here, the CR+LF flavoured DSPs are attached to this email,
compressed in
order to avoid conversion by some clever mail software underway.
Cheers
Igor
-----Original Message-----
From: ming lu [mailto:lu542 home com]
Sent: Sunday, March 11, 2001 6:47 AM
To: veillard redhat com; xml gnome org
Subject: Re: [xml] Release of libxml-2.3.4
I can't compile libxm-2.3.4 using VC++. The problem line is:
chars = vsnprintf(str + length, left, msg, args);
at error.c line 166. Any one can show me how to compile
it in windows
environment? TIA
----- Original Message -----
From: "Daniel Veillard" <veillard redhat com>
To: <xml gnome org>
Sent: Saturday, March 10, 2001 10:45 AM
Subject: [xml] Release of libxml-2.3.4
Downloads from gnome.org or
ftp://xmlsoft.org/
Mostly a bug fixes release, especially those
introduced in while
optimizing the previous 2.3.3:
- Fixed bugs #51860 and #51861
- Added a global variable xmlDefaultBufferSize to allow
default buffer
size to be application tunable.
- Some cleanup in the validation code, still a bug left
and this part
should probably be rewritten to support ambiguous
content model :-\
- Fix a couple of serious bugs introduced or raised
by changes in
2.3.3 parser
- Fixed another bug in xmlNodeGetContent()
- Bjorn fixed XPath node collection and Number formatting
- Fixed a loop reported in the HTML parsing
- blank space are reported even if the Dtd content model
proves that
they are formatting spaces, this is for XML conformance
Daniel
--
Daniel Veillard | Red Hat Network
http://redhat.com/products/network/
veillard redhat com | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/
_______________________________________________
xml mailing list
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
_______________________________________________
xml mailing list
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
_______________________________________________
xml mailing list
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]