diff --git a/cts/schemas/test-3/ref/bundle-promoted-max-legacy.ref-4 b/cts/schemas/test-3/ref/bundle-promoted-max-legacy.ref-4
index 0b92bb5e1c..4bceee3db1 100644
--- a/cts/schemas/test-3/ref/bundle-promoted-max-legacy.ref-4
+++ b/cts/schemas/test-3/ref/bundle-promoted-max-legacy.ref-4
@@ -1,26 +1,23 @@
-
-
-
diff --git a/cts/schemas/test-3/ref/bundle-promoted-max-legacy.ref-99 b/cts/schemas/test-3/ref/bundle-promoted-max-legacy.ref-99
index 732082bf80..a69b6bfab0 100644
--- a/cts/schemas/test-3/ref/bundle-promoted-max-legacy.ref-99
+++ b/cts/schemas/test-3/ref/bundle-promoted-max-legacy.ref-99
@@ -1,26 +1,23 @@
-
-
-
diff --git a/cts/schemas/test-3/ref/rkt.ref-4 b/cts/schemas/test-3/ref/rkt.ref-4
index ae10e1e2a1..b20daa5141 100644
--- a/cts/schemas/test-3/ref/rkt.ref-4
+++ b/cts/schemas/test-3/ref/rkt.ref-4
@@ -1,141 +1,85 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/cts/schemas/test-3/ref/rkt.ref-99 b/cts/schemas/test-3/ref/rkt.ref-99
index 3db9f2854a..29770a41bc 100644
--- a/cts/schemas/test-3/ref/rkt.ref-99
+++ b/cts/schemas/test-3/ref/rkt.ref-99
@@ -1,141 +1,85 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/xml/resources-4.0.rng b/xml/resources-4.0.rng
index 8f019d09b6..363fbbc33e 100644
--- a/xml/resources-4.0.rng
+++ b/xml/resources-4.0.rng
@@ -1,374 +1,351 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
([0-9\-]+)
Stopped
Started
Promoted
Unpromoted
Slave
Master
ignore
block
demote
stop
restart
standby
fence
restart-container
ocf
lsb
heartbeat
stonith
service
systemd
diff --git a/xml/upgrade-3.10-4.xsl b/xml/upgrade-3.10-4.xsl
index 7e286e31e0..9fde4ca460 100644
--- a/xml/upgrade-3.10-4.xsl
+++ b/xml/upgrade-3.10-4.xsl
@@ -1,164 +1,172 @@
+ select="$dropped_primitives
+ |$dropped_groups
+ |$dropped_clones
+ |//bundle[rkt]"/>
+
+
+