summaryrefslogtreecommitdiffstats
path: root/test/unittests/schemas/versions.rng
blob: ab4e4eaafd157b90b7425b730fa155ed230ae04c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0" 
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  <start>
      <ref name="attribute-version"/>
  </start>

  <define name="attribute-version">
    <attribute name="validate-with">
      <choice>
	<value>none</value>
	<value>pacemaker-0.6</value>
	<value>transitional-0.6</value>
	<value>pacemaker-0.7</value>
	<value>pacemaker-1.0</value>
	<value>pacemaker-1.1</value>
	<value>pacemaker-1.2</value>
      </choice>
    </attribute>
    <attribute name="admin_epoch"><data type="nonNegativeInteger"/></attribute>
    <attribute name="epoch"><data type="nonNegativeInteger"/></attribute>
    <attribute name="num_updates"><data type="nonNegativeInteger"/></attribute>
  </define>
</grammar>