commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Borut BolĨina <...@najdi.si>
Subject [Configuration] XML Schema for configuration.xml
Date Fri, 03 Feb 2006 06:52:59 GMT

Hello,

Oliver  -  I finished the first version of the schema yesterday evening. 
It looks like this:

    http://borut.aza-ms.si/pic/CommonsConfigurationSchema.png
    http://borut.aza-ms.si/pic/CommonsConfigurationSchemaOpen.png


The source:

    http://borut.aza-ms.si/schema/CommonsConfiguration-0.1.xsd


Usage example:
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:noNamespaceSchemaLocation="http://borut.aza-ms.si/schema/CommonsConfiguration-0.1.xsd">
    <properties fileName="prop1.properties"/>
    <xml fileName="prop2.xml"/>
    <jndi prefix="java:comp/env"/>
    <additional>
        <xml fileName="prop2-1.xml"></xml>
    </additional>
</configuration>

Please try it out on your examples. At the moment no user elements are 
allowed.

Cheers,
Borut

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message