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 "Roytman, Alex" <ro...@peacetech.com> on 2001/03/21 18:46:28 UTC
How to set "http://apache.org/xml/features/dom/defer-node-expansi
on" via JAXP
Hello,
Could anybody tell me how to set DOMParser features using JAXP. Most of them
are available directly in DocumentBuilderFactory but Xerces specific ones
are not.
I need to set "http://apache.org/xml/features/dom/defer-node-expansion" to
false
Thank you in advance
Alex
Re: How to set "http://apache.org/xml/features/dom/defer-node-expansion"
via JAXP
Posted by Andy Clark <an...@apache.org>.
Edwin Goei wrote:
> Sorry for the slow response. I confess that I don't always read the
> xerces-j-user list. The setAttribute method is probably the right place
> to implement this feature, but it has not been implemented.
Is it the goal of the setAttribute method to implement all of
the parser's features/properties or just pass them through to
the underlying setFeature/setProperty?
--
Andy Clark * IBM, TRL - Japan * 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
Re: How to set "http://apache.org/xml/features/dom/defer-node-expansion"
via JAXP
Posted by Edwin Goei <ed...@sun.com>.
Andy Clark wrote:
>
> "Roytman, Alex" wrote:
> > Could anybody tell me how to set DOMParser features using JAXP. Most
>
> At first, I was thinking that it can't be done with JAXP but
> looking at the API, perhaps you could use the setAttribute
> method on the DocumentBuilderFactory. I haven't looked at the
> code for the Xerces JAXP wrapper so I'm not sure.
>
> Edwin: can you confirm?
Sorry for the slow response. I confess that I don't always read the
xerces-j-user list. The setAttribute method is probably the right place
to implement this feature, but it has not been implemented.
-Edwin
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Re: How to set "http://apache.org/xml/features/dom/defer-node-expansion"
via JAXP
Posted by Andy Clark <an...@apache.org>.
"Roytman, Alex" wrote:
> Could anybody tell me how to set DOMParser features using JAXP. Most
At first, I was thinking that it can't be done with JAXP but
looking at the API, perhaps you could use the setAttribute
method on the DocumentBuilderFactory. I haven't looked at the
code for the Xerces JAXP wrapper so I'm not sure.
Edwin: can you confirm?
--
Andy Clark * IBM, TRL - Japan * 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