rformance improvements
> by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
> So if you're looking for a completely portable, 100% standards-conformant
> way
> to get the wrong information: this is what you want. - Scott Meyer
, before parsing, by translating both the
two-character sequence #xD #xA and any #xD that is not followed by #xA to a
single #xA character.
--
Andrew W. Nosenko andrew.w.nose...@gmail.com
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
`/libxml2-2.9.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/libxml2-2.9.1'
make: *** [all] Error 2
Please help me about what other options need to be set for AIX 64 bit.
IIRC, xlC_r is a C++ compiler.
Can you try C comiler instead (xlc_r)?
--
Andrew W. Nosenko
. Therefore, need to use the
new xmlBufShrink(). But it is private.
Therefore, I propose to expose the new xmlBufShrink() in the same way,
as xmlBufContent() and xmlBufUse() are exposed.
--
Andrew W. Nosenko andrew.w.nose...@gmail.com
___
xml mailing
to the Device node
and call xmlTextReaderReadString().
--
Andrew W. Nosenko andrew.w.nose...@gmail.com
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml
. The issue affects mainly libxml-ruby.
Daniel Veillard veill...@redhat.com is maintainer of libxml2.
Therefore, the most conservative route is to send private e-mail to him.
--
Andrew W. Nosenko andrew.w.nose...@gmail.com
___
xml mailing list, project page
On Wed, Nov 17, 2010 at 01:28, Roumen Petrov bugtr...@roumenpetrov.info wrote:
Andrew W. Nosenko wrote:
On Tue, Nov 16, 2010 at 01:05, Roumen Petrovbugtr...@roumenpetrov.info
wrote:
Kwasi Mensah wrote:
I ran into the issue where HAVE_PTHREAD_H is defined but
LIBXML_THREAD_ENABLED
);
memset(tid, 0xff, sizeof(*tid)*num_threads);
?
--
Andrew W. Nosenko andrew.w.nose...@gmail.com
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml
enough.
--
Andrew W. Nosenko andrew.w.nose...@gmail.com
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml
by
it indeed without unsafe tricks and assumptions.
IMO, that fits the spirit of a finite-length sequence of
decimal digits separated by a period fairly well.
--
Andrew W. Nosenko andrew.w.nose...@gmail.com
___
xml mailing list, project page http
or more digits instead:
No! The case like .5 instead of 0.5 is perfectly valid and widely used!
Whether the . or e are valid string representation of the double
type or should be rejected -- it's another matter. But zero digits
before dot are absolutely correct and should be allowed.
--
Andrew W
).
--
Andrew W. Nosenko andrew.w.nose...@gmail.com
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml
Unfortunately, at the time of writing
2bdf87e Restore behavior of --with-threads without argument
I was too concentrated on --with-threads without arguments and left
second problem in this check unattended: the test chain was built using
'|' pipe instead of '||' logical OR.
As consequence,
Restore behavior of
$ configure --with-threads
i.e. without argument to --with-threads as enable threads support
Behavior was broken in commit
203fd2e Allow to select the threading system on Windows
* configure.in: restore behavior of --with-threads without argument as
enable threads
includes stdint.h, so
there's no need to include stdint.h separately in a standard
environment. Some implementations have inttypes.h but not
stdint.h (e.g., Solaris 7), but we don't know of any
implementation that has stdint.h but not inttypes.h.
--
Andrew W. Nosenko
that inttypes.h includes stdint.h, so
there's no need to include stdint.h separately in a standard
environment. Some implementations have inttypes.h but not
stdint.h (e.g., Solaris 7), but we don't know of any
implementation that has stdint.h but not inttypes.h.
--
Andrew W
()?
Something like (in terms of Glib atomic operations)
gboolean need_init;
need_init =
g_atomic_int_compare_and_exchange(xmlParserInitialized, 0, 1);
if (!need_init)
return;
/* regular initialization code ... */
--
Andrew W. Nosenko [EMAIL PROTECTED
On Fri, Apr 11, 2008 at 8:58 AM, Ralf Junker [EMAIL PROTECTED] wrote:
At 17:42 10.04.2008, Andrew W. Nosenko wrote:
Sorry for question, but I'm curious why you need strlen()?.. I would
to expect strcmp() rather...
I need the length to pass it to other functions which do not work on
#0
curious why you need strlen()?.. I would
to expect strcmp() rather...
--
Andrew W. Nosenko [EMAIL PROTECTED]
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml
concurent
threads running on the different CPUs.
--
Andrew W. Nosenko [EMAIL PROTECTED]
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml
On Feb 20, 2008 5:08 PM, Daniel Veillard [EMAIL PROTECTED] wrote:
On Wed, Feb 20, 2008 at 03:04:42PM +0200, Andrew W. Nosenko wrote:
On Feb 20, 2008 2:50 PM, Daniel Veillard [EMAIL PROTECTED] wrote:
However I assume in case of scenarios where there is a parser
context
per
On Thu, Feb 14, 2008 at 2:41 PM, Daniel Veillard [EMAIL PROTECTED] wrote:
On Wed, Feb 13, 2008 at 06:16:49PM +0200, Andrew W. Nosenko wrote:
On Aug 29, 2007 3:32 PM, Daniel Veillard [EMAIL PROTECTED] wrote:
On Wed, Aug 29, 2007 at 06:50:53PM +0530, harbhanu wrote:
What libxml2
nesting will have
the complete document in memory...
For ex
aababcabcd. . /abc/abcd/ab/a
In this case its memory requirement will be almost equivalent to DOM.
Right??
yes, stupid design leads to stupid problems, I don't care too much
about it.
--
Andrew W. Nosenko [EMAIL
headers already have
#ifdef __cplusplus
extern C {
#endif
magic for you.
--
Andrew W. Nosenko [EMAIL PROTECTED]
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml
functions exist in the libc.
libpthread exists just as stub for compatibility with packages that
links with libpthread unconditionally.
--
Andrew W. Nosenko [EMAIL PROTECTED]
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http
free().
But it may be overriden by xmlMemSetup() or xmlGcMemSetup().
--
Andrew W. Nosenko [EMAIL PROTECTED]
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml
On 11/3/06, Daniel Veillard [EMAIL PROTECTED] wrote:
On Fri, Nov 03, 2006 at 03:31:20PM +0200, Andrew W. Nosenko wrote:
Sorry for possible stupid question, but what is difference between
xmlTextReaderNext() and xmlTextReaderNextSibling()?
Documentation for both say that they do
Skip
...
But you will have less control over processing -- there no 'options'
and 'encoding' parameters.
--
Andrew W. Nosenko [EMAIL PROTECTED]
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml
, both
HAVE_STAT and HAVE__STAT was defined.
Works for me (FreeBSD-5.4).
Thanks.
--
Andrew W. Nosenko [EMAIL PROTECTED]
___
xml mailing list, project page http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml
On 9/7/06, Emelyanov Alexey [EMAIL PROTECTED] wrote:
2006-09-06 Andrew W. Nosenko [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
[...]
Some words about removed '#define stat _stat':
1. this define is just wrong because replaces declarations like
struct stat stat_buff
2006-09-06 Andrew W. Nosenko [EMAIL PROTECTED]
* xmlIO.c [HAVE_STAT HAVE__STAT]:
Fix the compilation breakage: macro that redefines of the 'stat'
as '_stat' is removed (was introduced in the r1.172).
* xmlIO.c:
(xmlWrapOpenUtf8
On 8/3/06, Andrew W. Nosenko [EMAIL PROTECTED] wrote:
xmlEncodeSpecialChars(), file entities.c, lines 703-708:
[skip]
Forbid this e-mail. Sorry.
I was wrong.
libxml2 correctly encodes '\r' as #13;.
Sorry again.
--
Andrew W. Nosenko [EMAIL PROTECTED
Attached patch allows to see, whether libxml2 was compiled with Zlib
support over 'xmllint --help' and/or 'xmlHasFeature(XML_WITH_ZLIB)'.
2006-07-11 Andrew W. Nosenko [EMAIL PROTECTED]
* parser.c (xmlHasFeature):
* include/libxml/parser.h (XML_WITH_ZLIB):
* include
2006-06-26 Andrew W. Nosenko [EMAIL PROTECTED]
* threads.c:
(xmlFreeRMutex) [HAVE_PTHREAD_H]:
Destroying of condition, which allocated in the xmlNewRMutex(),
is added.
Seems like absent pthread_cond_destroy() produces memory leak under FreeBSD
(4 bytes per each
://libxmlplusplus.sourceforge.net/ )
Again: libxml2 uses narrow characters (unsigned char), not a wide
characters (wchar_t).
Or am i better using the provide string functions in libxml?
Again, depends on your application and your personal taste.
--
Andrew W. Nosenko [EMAIL PROTECTED
by scanning
configure.in, but I have no idea why it modified by regular configure
operations (rebuilding of configure Co isn't counted).
May be you have meant config.h, not config.h.in?
--
Andrew W. Nosenko [EMAIL PROTECTED]
___
xml
2005-10-28 Andrew W. Nosenko [EMAIL PROTECTED]
* encoding.c:
(xmlIconvWrapper): avoid GCC warning about passing argument from
incompatible pointer type.
--
Andrew W. Nosenko [EMAIL PROTECTED]
2005-10-28 Andrew W. Nosenko [EMAIL PROTECTED]
* encoding.c
On 8/2/05, Andrew W. Nosenko [EMAIL PROTECTED] wrote:
How to detect at run-time whether libxml2 was compiled with enabled
mutlithreading support (--with-threads)?
Reason of question: I just try to avoid following scenario:
1. application builded and tested on the machine with thread-aware
On 9/2/05, Daniel Veillard [EMAIL PROTECTED] wrote:
Idea is good, implementation not so. The function goes into threads.c
and the declaration in the system independant libxml/threads.h include.
I integrated it but not by applying your patch,
No problems. Thanks.
--
Andrew W. Nosenko
_REENTRANT macro) and
application-user-of-library with another (without
LIBXML_THREAD_ENABLED, because _REENTRANT macro is not defined by
anyone).
--
Andrew W. Nosenko [EMAIL PROTECTED]
2005-08-23 Andrew W. Nosenko [EMAIL PROTECTED]
* include/libxml/xmlversion.h.in
40 matches
Mail list logo