Re: [Simple-support] Performance and time consuming issues for parsing a big XML file using Simple
Brought to you by:
niallg
|
From: Jebarlin R. <jeb...@gm...> - 2011-09-12 04:01:20
|
Hi, Thanks Niall Gallagher for your reply, Ya sure, I know that non strict mode to set false for not parsing the whole doc, But If I give all annotation of the XML and parse with a XML with so much of content it is taking so much of time to parse the whole XML file. Actually I am trying to parse MS Office 2007 documents using Simple XML. This MS Office 2007 files are based on Open Office XML file formats, so it is more complected file. If any one knows better parser for XML in Android with (good performance and fast operation) please give me some solution. Regards, Jebarlin Robertson.R On Mon, Sep 12, 2011 at 9:00 AM, Niall Gallagher <gal...@ya...>wrote: > You don't have to parse the whole document, use > Persister.read(Class,InputStream,boolean) to set to non strict mode. This > mode will skip parts of the XML you do not have annotations for. > > --- On *Fri, 9/9/11, Jebarlin Robertson <jeb...@gm...>* wrote: > > > From: Jebarlin Robertson <jeb...@gm...> > Subject: [Simple-support] Performance and time consuming issues for parsing > a big XML file using Simple > To: sim...@li... > Received: Friday, 9 September, 2011, 5:08 AM > > > Hi, > > *Could anyone give me solution for the following Issues?* > > Can I use Simple XML parser for parsing MS Office 2007 documents? > > > I am trying to parse MS Office 2007 document by using Simple, but for a big > document, > when I add more java files with more annotation, it is taking more time to > parse the XML. > > For ex; > I added ElementListUnion in most of the classes to identify the same type > of element. > > Can anyone please give me a solution for performance issue when I parse a > big XML file with more java files(more than 500 files) and annotation? > > Thanks in advance. > > > -- > Thanks & Regards, > Jebarlin Robertson.R > GSM: 91-9538106181. > > -----Inline Attachment Follows----- > > > ------------------------------------------------------------------------------ > Why Cloud-Based Security and Archiving Make Sense > Osterman Research conducted this study that outlines how and why cloud > computing security and archiving is rapidly being adopted across the IT > space for its ease of implementation, lower cost, and increased > reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/ > > -----Inline Attachment Follows----- > > _______________________________________________ > Simple-support mailing list > Sim...@li...<http://mc/compose?to=...@li...> > https://lists.sourceforge.net/lists/listinfo/simple-support > > -- Thanks & Regards, Jebarlin Robertson.R GSM: 91-9538106181. |