users@fi.java.net

Re: VTD speed

From: Jimmy Zhang <crackeur_at_comcast.net>
Date: Wed, 25 Jan 2006 15:53:42 -0800

I was trying to rerun the benchmark with deferred node
expansion set to false, is there reference on hwo to do this??
I use setFeature on DOMBuilderFactory but has no success...

Any suggestions?
----- Original Message -----
From: "Paul Sandoz" <Paul.Sandoz_at_Sun.COM>
To: <users_at_fi.dev.java.net>
Sent: Wednesday, January 25, 2006 2:15 AM
Subject: Re: VTD speed


> Hi Jimmy,
>
> Jimmy Zhang wrote:
>> It is good discussion. VTD-XML is a new technology and not
>> many people are aware of it and understand its pros and cons,
>> so it is *good* to receive criticism, as it helps VTD-XML to
>> improve. So I appreciate all the comments.
>>
>> For the namespace binding part, there is nothing that prevents
>> XimpleWare from including the logic to do that ... but we thought
>> about how SAX handle well formness errors/exceptions, we
>> realized that the correct way to use SAX or Pull, is to scan the
>> document at least twice,
>>
>
> This is tricky because VTD-XML is an in memory processing model of the
> whole document. Comparing VTD-XML with a complete parse with SAX is just
> as misleading as comparing VTD-XML with half a parse using StAX.
>
> I think the only way this can be done, as I and Tatu have said, is to
> perform some different processing scenarios as developers would intend
> to use the different APIs.
>
> Great discussion!
>
> Paul.
>
> --
> | ? + ? = To question
> ----------------\
> Paul Sandoz
> x38109
> +33-4-76188109
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_fi.dev.java.net
> For additional commands, e-mail: users-help_at_fi.dev.java.net
>
>