~asac/+junk/snap-test-autobuild

« back to all changes in this revision

Viewing changes to tomcat-conf/tomcat-users.xsd

  • Committer: Alexander Sack
  • Date: 2016-04-01 09:34:07 UTC
  • Revision ID: asac@ubuntu.com-20160401093407-m2elzb2zmg93inis
test example package for snap building service

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" ?>
 
2
<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
 
3
           targetNamespace="http://tomcat.apache.org/xml"
 
4
           xmlns:users="http://tomcat.apache.org/xml"
 
5
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
 
6
           elementFormDefault="qualified"
 
7
           attributeFormDefault="unqualified"
 
8
           version="1.0">
 
9
  <xs:element name="tomcat-users">
 
10
    <xs:complexType>
 
11
      <xs:sequence>
 
12
        <xs:element name="role" minOccurs="0" maxOccurs="unbounded">
 
13
          <xs:complexType>
 
14
            <xs:attribute name="rolename" use="required" type="users:entityname" />
 
15
            <xs:attribute name="description" type="xs:string" />
 
16
          </xs:complexType>
 
17
        </xs:element>
 
18
        <xs:element name="group" minOccurs="0" maxOccurs="unbounded">
 
19
          <xs:complexType>
 
20
            <xs:attribute name="groupname" use="required" type="users:entityname" />
 
21
            <xs:attribute name="description" type="xs:string" />
 
22
            <xs:attribute name="roles" type="xs:string" />
 
23
          </xs:complexType>
 
24
        </xs:element>
 
25
        <xs:element name="user" minOccurs="0" maxOccurs="unbounded">
 
26
          <xs:complexType>
 
27
            <xs:attribute name="username" use="required" type="users:entityname" />
 
28
            <xs:attribute name="fullname" type="xs:string" />
 
29
            <xs:attribute name="password" type="xs:string" />
 
30
            <xs:attribute name="roles" type="xs:string" />
 
31
            <xs:attribute name="groups" type="xs:string" />
 
32
          </xs:complexType>
 
33
        </xs:element>
 
34
      </xs:sequence>
 
35
      <xs:attribute name="version" type="xs:string" />
 
36
    </xs:complexType>
 
37
  </xs:element>
 
38
  <xs:simpleType name="entityname">
 
39
    <xs:restriction base="xs:string">
 
40
      <xs:minLength value="1"/>
 
41
    </xs:restriction>
 
42
  </xs:simpleType>
 
43
</xs:schema>
 
 
b'\\ No newline at end of file'