From: "Scott Bennett" <[EMAIL PROTECTED]> > Just wondering if anyone has tried porting libexpat to palm (its an XML library), If you did attempt it, what sort of problems did you encounter? I've seen a couple attempts at XML parsers on palm but they all have their problems, I even found a commercial one that had a 64k limit to document size (I'm guessing they dont use the glueptrs). > -- >From memory the problem with porting most desktop XML code is that it handles the unknown depth of the hierarchy using stack-based mechanisms. This produces code that is fragile under Palm OS because of the smaller stack. You generally have to refactor the code to use memory-based mechanisms for building and iterating the tree, making the job more complex than a simple port.
Chris Tutty -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
