On 27 May 2010, at 19:11, Yann Stephan <yann.step...@gmail.com> wrote:
> Does it exist a xsd file for server.xml ? No. If I remember correctly the reason is that the file may contain elements with custom attributes. You can define XML entities and use those to refer to external files. <!ENTITY connectors SYSTEM "path/to/connectors.xml"> Then place "&connectors;" in the appropriate location in server.xml*. p * Unless you're a packager for a Linux distro at which point I refer you to the Tomcat License which expressly forbids you from distributing Tomcat files around the filing system**. ** Joke. Sorta. > > > > The goal is to generate a server.xml file from various rpms and add > various > valves or listeners. > > > > Connector1.xml à RPM 1 > > Connector2.xmlà RPM 2 (Optional) > > Valve1.xml à RPM 1 > > Valve2.xmlà RPM 2 (Optional) > > > > Then apply a xslt via xsltproc and get the server.xml consolidated. > > > > Or any other ideas are welcomed. > > > > Thanks for your lights > > > > Yann > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org