diff --git a/xml/alerts-4.0.rng b/xml/alerts-4.0.rng
new file mode 100644
index 0000000000..f0b07d8867
--- /dev/null
+++ b/xml/alerts-4.0.rng
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/constraints-next.rng b/xml/constraints-4.0.rng
similarity index 91%
copy from xml/constraints-next.rng
copy to xml/constraints-4.0.rng
index 241b053e63..cab0d089e2 100644
--- a/xml/constraints-next.rng
+++ b/xml/constraints-4.0.rng
@@ -1,289 +1,287 @@
-
+
-
+
+
+
+
group
listed
+
+
+
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
stop
demote
fence
freeze
always
never
exclusive
start
promote
demote
stop
Stopped
Started
Promoted
Unpromoted
Master
Slave
Optional
Mandatory
Serialize
+
diff --git a/xml/constraints-next.rng b/xml/constraints-next.rng
index 241b053e63..3b36f8edd9 100644
--- a/xml/constraints-next.rng
+++ b/xml/constraints-next.rng
@@ -1,289 +1,289 @@
-
+
group
listed
stop
demote
fence
freeze
always
never
exclusive
start
promote
demote
stop
Stopped
Started
Promoted
Unpromoted
Master
Slave
Optional
Mandatory
Serialize
-
+
diff --git a/xml/nodes-4.0.rng b/xml/nodes-4.0.rng
new file mode 100644
index 0000000000..4c32bb873b
--- /dev/null
+++ b/xml/nodes-4.0.rng
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ member
+ remote
+
+
+ ping
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/nvset-4.0.rng b/xml/nvset-4.0.rng
new file mode 100644
index 0000000000..d259c78496
--- /dev/null
+++ b/xml/nvset-4.0.rng
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/options-4.0.rng b/xml/options-4.0.rng
new file mode 100644
index 0000000000..eb12729544
--- /dev/null
+++ b/xml/options-4.0.rng
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ cluster-infrastructure
+
+
+
+
+
+ heartbeat
+ openais
+ classic openais
+ classic openais (with plugin)
+ cman
+
+
+
+
+
+
+
+
+
+
+ cluster-infrastructure
+ cluster_recheck_interval
+ dc_deadtime
+ default-action-timeout
+ default_action_timeout
+ default-migration-threshold
+ default_migration_threshold
+ default-resource-failure-stickiness
+ default_resource_failure_stickiness
+ default-resource-stickiness
+ default_resource_stickiness
+ election_timeout
+ expected-quorum-votes
+ is-managed-default
+ is_managed_default
+ no_quorum_policy
+ notification-agent
+ notification-recipient
+ remove_after_stop
+ shutdown_escalation
+ startup_fencing
+ stonith_action
+ stonith_enabled
+ stop_orphan_actions
+ stop_orphan_resources
+ symmetric_cluster
+ transition_idle_timeout
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/resources-4.0.rng b/xml/resources-4.0.rng
new file mode 100644
index 0000000000..016aa6291d
--- /dev/null
+++ b/xml/resources-4.0.rng
@@ -0,0 +1,451 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ isolation
+ isolation-host
+ isolation-instance
+ isolation-wrapper
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ([0-9\-]+)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ requires
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Stopped
+ Started
+ Promoted
+ Unpromoted
+ Slave
+ Master
+
+
+
+
+
+
+ ignore
+ block
+ demote
+ stop
+ restart
+ standby
+ fence
+ restart-container
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ocf
+
+
+
+
+ lsb
+ heartbeat
+ stonith
+ service
+ systemd
+
+
+ upstart
+
+
+ nagios
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/rule-4.0.rng b/xml/rule-4.0.rng
new file mode 100644
index 0000000000..9c5f8c534f
--- /dev/null
+++ b/xml/rule-4.0.rng
@@ -0,0 +1,433 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ or
+ and
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ literal
+
+ param
+ meta
+
+
+
+
+
+
+
+
+
+
+
+
+
+ literal
+ param
+ meta
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ defined
+ not_defined
+
+
+
+
+
+
+
+
+
+
+ lt
+ gt
+ lte
+ gte
+ eq
+ ne
+
+
+
+
+
+
+
+
+
+
+
+ string
+ integer
+ number
+ version
+
+
+
+
+
+
+
+
+
+
+ in_range
+
+
+
+
+
+
+
+
+
+
+
+
+
+ gt
+
+
+
+ lt
+
+
+
+ date_spec
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+