It isn't validation. I have validation turned off.

I didn't combine, because the current profile shows all the time down in the
scanner, and that wouldn't be changed by combining except insofar as we
would only list all the namespace schema declarations once.

My current experiment concerns
http://apache.org/xml/features/dom/defer-node-expansion, since these are
small files. I'll try woodstox next.


On Wed, Mar 19, 2008 at 6:34 PM, Dan Diephouse <[EMAIL PROTECTED]>
wrote:

> Benson Margulies wrote:
> > At this point, the startup performance of the bus is entirely tangled up
> in
> > Xerces. I'm having a hard time believing that building a DOM from StaX
> is
> > going to beat Xerces, but if someone else thinks so, I guess I'm game.
> >
> > Sadly, there are no Apache-compatible XML databases I can see out there,
> so
> > my idea of 'compiling' all the XML files to DOM trees in some sort of
> > persistent store seems impossible.
> >
> >
> Woodstox provides a significantly faster SAX implementation than Xerces.
> But the question is - is the startup time in xerces because of
> validation or because of parsing? I'm guess the former.
>
> Its easy to test the Woodstox parser:
>
> java -Dorg.xml.sax.driver=com.ctc.wstx.sax.WstxSAXParser ....
>
> Dan
>
> --
> Dan Diephouse
> MuleSource
> http://mulesource.com | http://netzooid.com
>
>

Reply via email to