From: Bob D. <bd...@si...> - 2003-11-06 14:30:07
|
First problem is your XML file If you are gonna put those chars in you need to <?xml version="1.0" encoding="ISO-8859-1"?> it was libxml2 complaining.... and the new RLIB won't crash when that happens.. if you do proper error checking Next problem is RLIB and i18n stuff... I think.. I could be wrong.. but RLIB's html output should be fine(If it is not what HTML do I need to put out to make it work???).. can you verify that for me... I also think RLIB's PDF output will be wrong... .. however you did mention earlier that you put in rlib this: cpdf_setFont(OUTPUT_PRIVATE(r)->pdf, "Courier", "WinAnsiEncoding", point); and that did the trick... does everything come out ok in PDF w/ that option turned on? - Bob On Wed, 2003-11-05 at 11:22, Everton Luis Berz wrote: > (gdb) bt > #0 0xffffe002 in ?? () > #1 <signal handler called> > #2 rlib_execute (r=0x1) at init.c:92 > #3 0x4002561d in zif_rlib_execute (ht=1, return_value=0x0, > this_ptr=0x0, return_value_used=0) at php.c:238 > #4 0x08156f4c in execute () > #5 0x0813dc16 in zend_execute_scripts () > #6 0x08070b7a in php_execute_script () > #7 0x0806dbf8 in main () > #8 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6 > > > Bob Doan escreveu: > > >Hey, > > > >You always send in the hard requests ;) > > > >Could you either > > > >1) give me a mysql example w/ php code and a sample xml file > > > >or 2) > > > >run it manually from a command line > > > >php whatever.php > > > >it will crash & create a core or core.xxxxx > > > >then run it through gdb like: > > > >gdb /usr/bin/php core > > > >or > > > >gdb /usr/bin/php core.xxxxxx > > > >then > > > >hit enter a bunch of times as it resolves all the damn php symbols > > > >then type: bt > > > >and send me the stack trace > > > >thanks > > > >- Bob > > > >On Wed, 2003-11-05 at 07:49, Everton Luis Berz wrote: > > > > > >>Hi, > >>My xml files are writen using ISO-8859-1 encoding. > >>Rlib does not show report correctly.. > >>Example one: > >><?xml version="1.0"?> > >><!DOCTYPE report > > >><Report fontSize="9" orientation="landscape"> > >> <ReportHeader> > >> </ReportHeader> > >> > >> <PageHeader> > >> <Output> > >> <Line fontSize="11"> > >> <text>Testing ISO8859: çãá[{éú</text> > >>... > >> > >>rlib output is: > >>xmlParseError > >>** NUTS.. WE CRASHED > >>Sair (core dumped) > >> > >>Example two: > >>I have changed line 1 to > >><?xml version="1.0" encoding="ISO-8859-1"?> > >> > >>rlib output is: > >> > >>Testing ISO8859: çãá[{éú > >>... > >> > >> > >> > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: SF.net Giveback Program. > >Does SourceForge.net help you be more productive? Does it > >help you create better code? SHARE THE LOVE, and help us help > >YOU! Click Here: http://sourceforge.net/donate/ > >_______________________________________________ > >Rlib-users mailing list > >Rli...@li... > >https://lists.sourceforge.net/lists/listinfo/rlib-users > > > > > > > |