> I as I wrote the big performance reserve left for those who uses
xerces 2 -
> is disable deffered node expansion feature.
>
> I asked a question on xerces forum, and all who answered said this
feature
> better be disabled by default.
> You can read a thread by the following URL
> http://marc.theaimsgroup.com/?l=xerces-j-dev&m=103780269004690&w=2.  I
would
> propose hardcode disabling this function if factory class is
> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.

I agree with hard-coding, but is there any better way than checking the
class of the factory?  I'm just worried that the Xerces team might
refactor and give it a new name sometime.  Since the option is specific
to apach.org, I think it would be better to always call setAttribute,
catching and ignoring the java.lang.IllegalArgumentException from
non-Apache implementations.

Scott Nichol


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to