OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Reusing a JAXP SAX parser

[ Lists Home | Date Index | Thread Index ]

When you create your parser, pass a new instance of
XMLGrammarCachingConfiguration. This works with xerces 2.4 up at
least..

Christian

> I have a situation where I'm parsing many instances of a document conforming to a given schema.
> I was planning on reusing the same SAXParser instance to parse
> each document on the assumption that setting up the parser for each
> document might add overhead to the overall operation.







 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS