Next in thread → Next in month →

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

From
Christian Nentwich <>
To
"Bayly, Martin" <>
Date
2003-10-26T12:15:59Z
ID
<>
Thread
Re: [xml-dev] Reusing a JAXP SAX parser
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.
Next in thread → Next in month →