diff --git a/xml/cibtr-2.rng b/xml/cibtr-2.rng
index 47c3126e2e..7918a62b99 100644
--- a/xml/cibtr-2.rng
+++ b/xml/cibtr-2.rng
@@ -1,56 +1,132 @@
-
-
-
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
- 1
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/nvset-2.9.rng b/xml/nvset-2.9.rng
index 26dcac13ec..0d43be5970 100644
--- a/xml/nvset-2.9.rng
+++ b/xml/nvset-2.9.rng
@@ -1,45 +1,45 @@
-
diff --git a/xml/nvset-2.9.rng b/xml/nvset-3.0.rng
similarity index 59%
copy from xml/nvset-2.9.rng
copy to xml/nvset-3.0.rng
index 26dcac13ec..7555dcb078 100644
--- a/xml/nvset-2.9.rng
+++ b/xml/nvset-3.0.rng
@@ -1,45 +1,63 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
diff --git a/xml/resources-3.0.rng b/xml/resources-3.0.rng
index 576a249557..39c4cc5378 100644
--- a/xml/resources-3.0.rng
+++ b/xml/resources-3.0.rng
@@ -1,328 +1,363 @@
-
+
-
+
([0-9\-]+)
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ requires
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Stopped
Started
Slave
Master
ignore
block
stop
restart
standby
fence
restart-container
-
+
ocf
lsb
heartbeat
stonith
upstart
service
systemd
nagios
diff --git a/xml/test-2/020-rsc-requires-inline.ref b/xml/test-2/020-rsc-requires-inline.ref
new file mode 100644
index 0000000000..574071b8aa
--- /dev/null
+++ b/xml/test-2/020-rsc-requires-inline.ref
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/test-2/020-rsc-requires-inline.ref.err b/xml/test-2/020-rsc-requires-inline.ref.err
new file mode 100644
index 0000000000..a9e7a8967a
--- /dev/null
+++ b/xml/test-2/020-rsc-requires-inline.ref.err
@@ -0,0 +1 @@
+Resources-operation: moving requires under meta_attributes as requires unless already defined there for matching start|promote
diff --git a/xml/test-2/020-rsc-requires-inline.xml b/xml/test-2/020-rsc-requires-inline.xml
new file mode 100644
index 0000000000..66b1d0604c
--- /dev/null
+++ b/xml/test-2/020-rsc-requires-inline.xml
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/test-2/021-rsc-requires-nvpair.ref b/xml/test-2/021-rsc-requires-nvpair.ref
new file mode 100644
index 0000000000..8545bd1e81
--- /dev/null
+++ b/xml/test-2/021-rsc-requires-nvpair.ref
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/test-2/021-rsc-requires-nvpair.ref.err b/xml/test-2/021-rsc-requires-nvpair.ref.err
new file mode 100644
index 0000000000..2b5e0e00ac
--- /dev/null
+++ b/xml/test-2/021-rsc-requires-nvpair.ref.err
@@ -0,0 +1 @@
+Resources-operation: myAddr-start: moving requires under meta_attributes as requires unless already defined there for matching start|promote
diff --git a/xml/test-2/021-rsc-requires-nvpair.xml b/xml/test-2/021-rsc-requires-nvpair.xml
new file mode 100644
index 0000000000..e2214efe40
--- /dev/null
+++ b/xml/test-2/021-rsc-requires-nvpair.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/test-2/022-rsc-requires-counterexamples.ref b/xml/test-2/022-rsc-requires-counterexamples.ref
new file mode 100644
index 0000000000..c100eefb62
--- /dev/null
+++ b/xml/test-2/022-rsc-requires-counterexamples.ref
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/test-2/022-rsc-requires-counterexamples.ref.err b/xml/test-2/022-rsc-requires-counterexamples.ref.err
new file mode 100644
index 0000000000..4e9a8f7cdb
--- /dev/null
+++ b/xml/test-2/022-rsc-requires-counterexamples.ref.err
@@ -0,0 +1,2 @@
+Resources-operation: dropping requires
+Resources-operation: ... only start/promote operation taken into account
diff --git a/xml/test-2/022-rsc-requires-counterexamples.xml b/xml/test-2/022-rsc-requires-counterexamples.xml
new file mode 100644
index 0000000000..c74e76cdd4
--- /dev/null
+++ b/xml/test-2/022-rsc-requires-counterexamples.xml
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/upgrade-2.10.xsl b/xml/upgrade-2.10.xsl
index d956582f6a..11e7aa5166 100644
--- a/xml/upgrade-2.10.xsl
+++ b/xml/upgrade-2.10.xsl
@@ -1,163 +1,758 @@
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/upgrade-detail.xsl b/xml/upgrade-detail.xsl
index 99e391bae5..15e940fc3a 100644
--- a/xml/upgrade-detail.xsl
+++ b/xml/upgrade-detail.xsl
@@ -1,73 +1,116 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+