2.4.1. Kernel configuration namespace

To be effective, the namespace URI http://www.exoplatform.org/xml/ns/kernel_1_2.xsd must be target namespace of the XML configuration file.


<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
               xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
               xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">


   ...
</configuration>

Note

Any values in the configuration files can be created thanks to variables since the eXo kernel resolves them, for example the following configuration will be well interpreted:


<configuration
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
   xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">

  <import>${db.configuration.path}/db.xml</import>
  <import>${java.io.tmpdir}/bindfile.xml</import>
  <import>simple.xml</import>

</configuration>

The variables that are supported, are System properties and variables that are specific to your portal container, see next sections for more details.

Copyright ©2012. All rights reserved. eXo Platform SAS