-----Original Message-----
From: owner-ftpapi@xxxxxxxxxxxxx [mailto:owner-ftpapi@xxxxxxxxxxxxx] On Behalf Of Nicolas Machado
Sent: Tuesday, March 29, 2005 11:01 AM
To: ftpapi@xxxxxxxxxxxxx
Subject: [OFF TOPIC] Using Expat with RPGLE part 2.Hi, Scott i'm testing your programs.I have a cancelation with a XML that I have.This XML is 48410 bytes long.the error is:"ID de mensaje . . . . : MCH3601
Fecha de envío . . . . : 29/03/05 Hora de envío . . . . : 10:47:18
Mensaje . . . . : El puntero no hace referencia a ninguna ubicación.
Causa . . . . . : Se ha utilizado un puntero, como puntero directo o de
base, que no tiene asignada una dirección. "on the line with XML_Parse functionThe question is:what happend in XML_Parse() if the string in memory (Buff) is not a complete XML file ??How can I read a large IFS file within RPGLE ??The strange thing is that OUTLINE sample didn't fail.I see that the diference between them are:CHARDATA uses:XML_SetStartElementHandler(p: %paddr(start));
XML_SetEndElementHandler(p: %paddr(end));
XML_SetCharacterDataHandler(p: %paddr(chardata));and OUTLINE uses:XML_SetElementHandler(p: %paddr(start): %paddr(end));The rest is quite the same.May be I need another handler?? likeXML_SetDefaultHandler
Because an issue with an upgrade on the box I can't debug the source... I hope this will be corrected asap.Well, thanks again.PD: send you the XML that i'm testing.Nicolas MachadoLic. en Sistemas.:iSoluciones S.A..:4315-5777
--
No se han detectado virus en este correo saliente.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 27/03/2005
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 27/03/2005
--
No se han detectado virus en este correo
saliente.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database:
266.8.4 - Release Date: 27/03/2005
--
No se han detectado virus en este correo saliente.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005