logo       

Related Msgs: audio.musicbrai...    enbd.general/20...    ietf.idr/2002-0...    java.ant-contri...    gnu.make.genera...    qplus.devel/200...    video.freevo.cv...    os.netbsd.ports...    yellowdog.gener...    xfree86.cvs/200...    search.nutch.us...    freedesktop.xse...    programming.swi...    capabilities.ge...    telephony.pbx.a...    mail.sylpheed.c...    db.firebase.por...    boot-loaders.u-...    recreation.radi...    netbsd.bugs/200...    web.zope.plone....    user-groups.lin...   

RE: How to non-programatically turn on XInclude support?: msg#00022

Subject: RE: How to non-programatically turn on XInclude support?

We have a need for this too. Any ideas appreciated…

 

Gary

 


From: Perryn Fowler [mailto:pezlists@xxxxxxxxx]
Sent: Thursday, March 09, 2006 9:40 PM
To: j-users@xxxxxxxxxxxxxxxxx
Subject: How to non-programatically turn on XInclude support?

 


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



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo