Hi,
I have got XInclude working with xerces by calling
documentBuilderFactory.setName
spaceAware(true);
documentBuilderFactory.setXIncludeAware(true);
but the reason I want to enable XInclude support is so that I can
use includes in the configuration file of a third party product.
I would prefer not to have to patch this product to include the above calls=
,
in its parsing code for our app, so I would like to be able to configure
xerces non-programatically.
Is this possible?
( I have read about the various methods of changing the Parser
Configuration, but according to the docs the default configuration is
XIncludeAwareParserConfiguration
in any case - nevertheless XInclude processing isn not performed without th=
e
two calls above)
cheers
Perryn
--
-----------------------
Perryn Fowler
ThoughtWorks
documentBuilderFactory.setXIncludeAware(true);
but the reason I want to enable XInclude support is so that I can
use includes in the configuration file of a third party product.
I would prefer not to have to patch this product to include the above calls=
,
in its parsing code for our app, so I would like to be able to configure
xerces non-programatically.
Is this possible?
( I have read about the various methods of changing the Parser
Configuration, but according to the docs the default configuration is
XIncludeAwareParserConfiguration
in any case - nevertheless XInclude processing isn not performed without th=
e
two calls above)
cheers
Perryn
--
-----------------------
Perryn Fowler
ThoughtWorks
