Re: [Simple-support] Performance and time consuming issues for parsing a big XML file using Simple
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2011-09-12 03:30:22
|
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... https://lists.sourceforge.net/lists/listinfo/simple-support |