Re: [xml] xmlTextWriterWriteFormatElement problem



2005/9/14, James Eggleston <james eggleston vega de>:
Hello,

I've found a problem in our use of libxml2's streaming API. The call "xmlTextWriterWriteFormatElement" 
crashes when writing strings longer than 8191 bytes. It only happens on our dual - EM64T  SuSE Enterprise 
9.0 server... it seems fine on our single CPU 32 bit SLES machine (I tried using taskset to make the 
program stick to one CPU, but the program still crashed...). The default libxml2 is installed (2.6.7).

The following program reproduces the problem on my machine:
...

Just wanted to say that I can't reproduce your problem with libxml2
2.6.22 on my FreeBSD 5.4 single-CPU machine:

elvis square$ g++ -o xmlProblem xmlProblem.cpp `xml2-config --cflags --libs`
elvis square$ ./xmlProblem
elvis square$ ls -l
total 18
-rw-r--r--  1 elvis  elvis  8241 Sep 14 19:36 test.xml
-rwxr-xr-x  1 elvis  elvis  5581 Sep 14 19:36 xmlProblem
-rw-r--r--  1 elvis  elvis   780 Sep 14 19:22 xmlProblem.cpp

Best regards,
Aron Stansvik



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