users@fi.java.net

Xerces DOM deferred node expansion <was> Re: VTD speed

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 26 Jan 2006 10:39:19 +0100

Jimmy Zhang wrote:
> 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?

Try this:

DocumentBuilderFactory bf = ...
bf.setAttribute("http://apache.org/xml/features/dom/defer-node-expansion",
     false).

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109