XML large attributes CParser problem
I found a problem when using CParser for parse XML files with large attributes - larger than 12kB. Element which has a large attribute is not notified to the application but part of it content is notified as a parent element content. I created wiki page with description how to fix this problem by using different parser plugin:
[url]http://www.developer.nokia.com/Community/Wiki/Symbian_XML_parsing_plugins[/url]
Also I added short description how to use string table to optimize XML parsing by avoiding lots of strings comparisions.
Re: XML large attributes CParser problem
Nice magic, thanks for sharing.
Just an FYI: there is a tool for generating string tables, epoc32\tools\stringtable.pl, usage is here: [url]http://library.developer.nokia.com/index.jsp?topic=/GUID-E35887BB-7E58-438C-AA27-97B2CDE7E069/GUID-27340D18-A31D-512E-920A-B06C784A978A.html[/url]
What is not really written there is that the keywords fstringtable and stringtable are determining case sensitivity, f=folding=case insensitive. And the location of the script file is also bad (comes from some PDK apparently)
Re: XML large attributes CParser problem
Excellent. Is this done? (it still has "Draft" category against it)
Re: XML large attributes CParser problem
I updated article, and now it is done.
Re: XML large attributes CParser problem
Thanks, yes much improved.