93 lines
3.4 KiB
XML
93 lines
3.4 KiB
XML
<?xml version="1.0"?>
|
|
<xsd:schema
|
|
elementFormDefault="qualified"
|
|
targetNamespace="http://www.entrouvert.org/namespaces/expression/0.0"
|
|
xmlns="http://www.entrouvert.org/namespaces/expression/0.0"
|
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
>
|
|
<xsd:annotation>
|
|
<xsd:documentation xml:lang="en">
|
|
Configuration Schema for Expression.
|
|
By: Frederic Peters <fpeters@entrouvert.com>
|
|
Emmanuel Raviart <eraviart@entrouvert.com>
|
|
|
|
Copyright (C) 2004 Entr'ouvert, Frederic Peters & Emmanuel Raviart
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License
|
|
as published by the Free Software Foundation; either version 2
|
|
of the License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
|
|
<xsd:element name="configuration" type="Configuration"/>
|
|
|
|
<xsd:complexType name="Configuration">
|
|
<xsd:sequence>
|
|
<xsd:element name="logFilePath" type="xsd:string"/>
|
|
<xsd:element name="pidFilePath" type="xsd:string"/>
|
|
<xsd:element name="adminEmail" type="xsd:string"/>
|
|
<xsd:element name="user" type="xsd:string"/>
|
|
<xsd:element name="group" type="xsd:string"/>
|
|
<xsd:element name="module" maxOccurs="unbounded">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="thing" maxOccurs="unbounded">
|
|
<xsd:complexType>
|
|
<xsd:sequence>
|
|
<xsd:element name="namespace" type="xsd:string"/>
|
|
<xsd:element name="name" type="xsd:string"/>
|
|
<xsd:element name="schema" type="xsd:anyURI"/>
|
|
<xsd:element name="description" type="xsd:anyURI"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="name" type="xsd:string"/>
|
|
</xsd:complexType>
|
|
</xsd:element>
|
|
<xsd:choice maxOccurs="unbounded">
|
|
<xsd:element name="virtualHost" type="VirtualHost"/>
|
|
<xsd:element name="sslVirtualHost" type="SSLVirtualHost"/>
|
|
</xsd:choice>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="schema" type="xsd:anyURI"/>
|
|
</xsd:complexType>
|
|
|
|
<xsd:complexType name="SSLVirtualHost">
|
|
<xsd:complexContent>
|
|
<xsd:extension base="VirtualHost">
|
|
<xsd:sequence>
|
|
<xsd:element name="sslCertificateFile" type="xsd:string"/>
|
|
<xsd:element name="sslCertificateKeyFile" type="xsd:string"/>
|
|
<xsd:element name="sslCACertificateFile" type="xsd:string"/>
|
|
</xsd:sequence>
|
|
</xsd:extension>
|
|
</xsd:complexContent>
|
|
</xsd:complexType>
|
|
|
|
<xsd:complexType name="VirtualHost">
|
|
<xsd:sequence>
|
|
<xsd:element name="serverName" type="xsd:string"/>
|
|
<xsd:element name="title" type="xsd:string"/>
|
|
<xsd:element name="documentRoot" type="xsd:string"/>
|
|
<xsd:element name="language" type="xsd:language"/>
|
|
<!-- FIXME: <xsd:element name="talkback"/> -->
|
|
</xsd:sequence>
|
|
<xsd:attribute name="ip" type="xsd:string"/>
|
|
<xsd:attribute name="port" type="xsd:integer"/>
|
|
<xsd:attribute name="schema" type="xsd:anyURI"/>
|
|
<xsd:attribute name="src" type="xsd:anyURI"/>
|
|
</xsd:complexType>
|
|
|
|
</xsd:schema>
|