Using XMLI and find it very easy to use.
I have one problem.
I need to create an xml document > 16,000,000 bytes.
I am using your technique from page 6-7 of the user guide by using a pointer, and writing/appending to the IFS.The program is creating the XML document on the IFS , but the program is halting in procedure xmli_addelement/xmli_opentag at statement 13004.
The program is not going to a normal end.
the variable indent is exceeding 65535 and the xml document on the IFS is incomplete.
Any ideas?
Thanks
Kevin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I finally solved the problem.
There seem to be a problem/bug using the xmli_addelement() procedure. When you gererate a large xml doucment and you call this procedure more that 65535 times the program throws an overflow error.
Instead of using xmli_addelemement() using
xmli_openTag() , xmli_addData(), xmli_closeTag() seems to work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Using XMLI and find it very easy to use.
I have one problem.
I need to create an xml document > 16,000,000 bytes.
I am using your technique from page 6-7 of the user guide by using a pointer, and writing/appending to the IFS.The program is creating the XML document on the IFS , but the program is halting in procedure xmli_addelement/xmli_opentag at statement 13004.
The program is not going to a normal end.
the variable indent is exceeding 65535 and the xml document on the IFS is incomplete.
Any ideas?
Thanks
Kevin
I finally solved the problem.
There seem to be a problem/bug using the xmli_addelement() procedure. When you gererate a large xml doucment and you call this procedure more that 65535 times the program throws an overflow error.
Instead of using xmli_addelemement() using
xmli_openTag() , xmli_addData(), xmli_closeTag() seems to work.