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

FW: [OFF TOPIC] Using Expat with RPGLE part 2.



Title: Mensaje
Hi Again Scott.
 
I found with your XPATH program wich one is the last element that the program read correctly, the next element is the data for a base64 encoded of a jpg image,
let's say that that's not the problem, the issue is that the element data is >37kb long, ok?
 
I mean betwen <tag> and </tag> are more than 37Kbytes, no CRLF, only base64 caracters...
 
Is there any restriction for that ?? in XML? or anywhere else ?
 
Well I'll continue the test.
 
Best Regards
Nicolas
 
 
 
 
 
-----Original Message-----
From: Nicolas Machado [mailto:nicolas.machado@xxxxxxxxxxxxxxxxxxxx]
Sent: Tuesday, March 29, 2005 1:13 PM
To: 'ftpapi@xxxxxxxxxxxxx'
Subject: RE: [OFF TOPIC] Using Expat with RPGLE part 2.

Hi again Scott.
 
Now I can debug.
 
I debbuged it with Shift-F10 on every step and I can't find the problem yet.
 
I'll let you know if I find the line that cause the failure.
 
If you need some other info just tell me.
 
Best Regards.
Nicolas
 
-----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 function
 
 
The 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?? like 

XML_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 Machado
Lic. 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