[xml] Problem under HPUX 11.00 and SUNOS 5.8 with static library






I have some problems with libXml2-2.6.2 under HPUX 11.00 (with cc 11.11.02)
and under SUNOS 5.8 (whith cc 6.1.45)

Problem only with static library libxml2.a and not with shared library
No problem under HPUX 10.20 with cc 10.32.30
No problem under AIX 4.3.3 with xlc

I have a bad XML like this :

<?xml version="1.0" encoding="ISO-8859-1"?>
<BASE>
data
</Base>


I use the function xmlParseFile() in my program.
under HPUX 10.20 and AIX 4.3.3, there is an error :
local/e206195/Test5.xml:4: parser error : Opening and ending tag mismatch:
BASE line 2 and Base
</Base>
               ^

OK but under HPUX 11.00 or SUNOS 5.8
=> coredump

Signal received by process 10876: (SIGBUS).
Stopped at: _wrtchk+00c4 (7AFA0E90)
Unable to access object: error.c
Target process died because of: SIGBUS - bus error.
Executing image in process 11015:
"/home/e206195/libFDV/Test/TESTS_UNITAIRES/bin/hp04/exetest".
"Property system -on" causes deferred availability of dynamically linked
library information.
Stopped at: \\_wrtchk (C01E6E90)

-> Debugger informations with dde under HPUX 11.00 :

xmlReportError(err=4001BCD0,ctx=4001BB50,str=4006BF38,*str="Opening and
ending tag mismatch: BASE line 2 and
Base\n",channel=4000EA52,data=00000000)
xmlGenericErrorDefaultFunc(ctx=00000000,msg=00129ED8,*msg="%s:%d: ")
_vfprintf+008c
_wrtchk+00c4

I'm a beginner with libxml2, so if someone can help me ?

thanks,

Régis.




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