Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: JGRP-1502
Fetching contributors…

Cannot retrieve contributors at this time

62 lines (52 sloc) 2.493 kb
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="urn:jgroups:relay:1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="RelayConfiguration" type="urn:RelayConfigurationType" xmlns:urn="urn:jgroups:relay:1.0">
<xs:annotation>
<xs:documentation>Sample configuration of multipe sites, to be used in RELAY2</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="RelayConfigurationType">
<xs:sequence>
<xs:element name="sites" type="urn:sitesType" xmlns:urn="urn:jgroups:relay:1.0" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sitesType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="1" name="site" type="urn:siteType" xmlns:urn="urn:jgroups:relay:1.0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="siteType">
<xs:sequence>
<xs:element name="bridges" type="urn:bridgesType" xmlns:urn="urn:jgroups:relay:1.0" minOccurs="1"/>
<xs:element name="forwards" type="urn:forwardsType" xmlns:urn="urn:jgroups:relay:1.0" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="id" type="xs:short" use="required"/>
</xs:complexType>
<xs:complexType name="bridgesType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="bridge" type="urn:bridgeType" xmlns:urn="urn:jgroups:relay:1.0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="bridgeType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="name" type="xs:string" use="optional"/>
<xs:attribute name="config" type="xs:string" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="forwardsType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="forward" type="urn:forwardType" xmlns:urn="urn:jgroups:relay:1.0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="forwardType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="to" type="xs:string" use="required"/>
<xs:attribute name="gateway" type="xs:string" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:schema>
Jump to Line
Something went wrong with that request. Please try again.