I had a proxy issue with parser going out on the web to find dtd or schema. Maybe it's that.
Barry Nobel 55 Water: 212-438-4794 Home: 516-944-7812 Cell: 516-318-2740 -----Original Message----- From: Elliotte Rusty Harold [mailto:[EMAIL PROTECTED] Sent: Sunday, July 13, 2003 10:36 PM To: [EMAIL PROTECTED] Subject: Re: SAX Parsing too slow At 6:53 PM -0400 7/13/03, Shital Joshi wrote: >Hi there, > >I am parsing a very big xml document(1.2 gb) using Xerces SAX Parser. It >takes more than 15 minutes before it actually starts thorwing start element >and end element events. Since this is not a DOM Parser, I suspect it doesn't >load the document in memory and all. Then nwhy does it take so long before >throwing any events? Is there any way to make it faster? > There could be any number of reasons, but since you're wisely using AX the simplest solution is try other parsers such as Crimson and Piccolo and see if any of them provide better performance on your documents. If they're all equally slow the problem is probably in your code. For instance, how do you know it takes 15 minutes before it starts firing start element and end element events? Isd it possible it actually starts much sooner but your output gets buffered until then? -- Elliotte Rusty Harold [EMAIL PROTECTED] Processing XML with Java (Addison-Wesley, 2002) http://www.cafeconleche.org/books/xmljava http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -------------------------------------------------------- The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer. Thank you, Standard & Poor's -------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
