tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pawson, David" <>
Subject RE: Using XInclude in tomcat's config files
Date Mon, 04 Oct 2004 07:32:14 GMT

    -----Original Message-----
    From: news [] On Behalf Of Shankar Unni
    Sent: 01 October 2004 21:44
    Alas, that didn't help. I tried setting both 
    org.xml.sax.parser and 
    org.apache.xerces.xni.parser.XMLParserConfiguration (the 
    latter one being the one described in the Xerces XInclude FAQ at on the 
    java command line to 
    but neither seems to have had the least effect.
         <xi:include href="../../../etc/tomcat/dbparams.xml"
    is completely ignored in my server.xml, and it is as if 
    this directive weren't even present. (The file contains a 
    <ResourceParams> root element for insertion into the 
    <Context> that I've declared in server.xml).
    Anything else I can try?

Try an entity instead of xinclude? Not many parsers are good
for xinclude as yet (a mainly uninformed statement). Entity
resolution is easier if the parser is setup correctly.

I'm not familiar with xinlude, but are you OK to use relative
url's in the href attribute? Does it need a file:// protocol?

HTH DaveP.


NOTICE: The information contained in this email and any attachments is 
confidential and may be privileged.  If you are not the intended 
recipient you should not use, disclose, distribute or copy any of the 
content of it or of any attachment; you are requested to notify the 
sender immediately of your receipt of the email and then to delete it 
and any attachments from your system.

RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants.  However, it 
cannot accept any responsibility for any  such which are transmitted.
We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email and 
any attachments are those of the author and do not necessarily represent
those of RNIB.

RNIB Registered Charity Number: 226227


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message