Hi Perryn,

Prior to Xerces 2.7 XInclude support was enabled by changing the parser 
configuration to the experimental 
org.apache.xerces.parsers.XIncludeParserConfiguration (which was 
hard-wired to do XInclude processing). Though it's no longer mentioned in 
the FAQs, in Xerces 2.7 and above XIncludeParserConfiguration still 
exists, mostly as an implementation detail but partially for 
backwards-compatibility. It should still work.

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

"Perryn Fowler" <[EMAIL PROTECTED]> wrote on 03/10/2006 12:40:03 AM:

> 
> 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


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

Reply via email to