I couldn't read this wonderful assessment by Omar and not forward it to the list! Congratulations on the kudos Stefan! keith -----Original Message----- From: A mailing list for KVM discussion [mailto:KVM-INTEREST@JAVA.SUN.COM]On Behalf Of Omar Alizzi Sent: Tuesday, August 07, 2001 11:37 AM To: KVM-INTEREST@JAVA.SUN.COM Subject: Re: XML and KVM Hi Sean, I experiemented with NanoXML and kXML. The way I compared the two was by setting up a 5K (relatively small) xml string that does not have too many attributes and with a short width and then parsed that file using both parsers. My findings were as follows: - NanoXML wasn't faster (for my purposes) than kXML - kXML validated my xml string as opposed to NanoXML - NanoXML used more local objects than kXML did (I spoke to Eric Giguere about this point and he said that he did go back and apply some fixes to the NanoXML structure). I bring up this point because when I first tried parsing using NanoXML, the KVM crashed due to the limited amount of heapsize on my POSE. I understand that NanoXML, tinyXML and similar parsers were not really made for the KVM in the first place, and that explains their limitation (in my humble opinion ;-) kXML, on the other hand, is directed towards small devices and therefore the KVM. It's a little bigger (it terms of code size) than NanoXML (the K version of it anywayz) but I made it suitable for my application by removing some classes that I didn't need. The buttom line is that, for me, kXML is: - fast (bearing in mind that we're talking about the KVM here) - validating - easy to extend - beautiffuly designed - there is good support for it on www.kxml.org Again, in no way was my test reflective or detailed. p.s. I'm not trying to promote a product here ;-) Regards, Omar... -----Original Message----- From: Sean Landis [mailto:Sean_Landis-CSL044@EMAIL.MOT.COM] Sent: Tuesday, August 07, 2001 11:07 AM To: KVM-INTEREST@JAVA.SUN.COM Subject: Re: XML and KVM Omar Alizzi wrote: >... > > p.s. I have been playing around with lightweight xml parsers for a while > so feel free to ask me questions if you have any and I'll try to help! To the point: Which one do you like best and why? Thanks Omar. Sean =========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff KVM-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help". |