You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Andy Clark <an...@apache.org> on 2002/04/01 19:31:05 UTC

Re: XNI optimized parser config?

Dennis Sosnoski wrote:
> Does anyone have a sample of how to configure an optimized version of
> the Xerces2 parser? I'd like to try it out with validation disabled to
> see how much difference this makes to performance.

There's an XNI sample that builds a parser configuration
without any validators in the pipeline. So you could use this 
to see if there's a noticable performance difference. Check
in the samples/xni/parser directory.

However, more can be done with a little programming. For
example, if the documents being parsed are generated by
machine and are guaranteed to be well-formed, then a much
smaller scanner could be written that doesn't have to check
all of the WF constraints in the XML Specification. But the
code to do this hasn't been written.

-- 
Andy Clark * andyc@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org