diff --git a/cts/schemas/test-3/ref/duplicate-nvpairs-no-default.ref-2 b/cts/schemas/test-3/ref/duplicate-nvpairs-no-default.ref-2
index 2d9a5882ba..9f0abd6d13 100644
--- a/cts/schemas/test-3/ref/duplicate-nvpairs-no-default.ref-2
+++ b/cts/schemas/test-3/ref/duplicate-nvpairs-no-default.ref-2
@@ -1,49 +1,41 @@
-
-
-
-
-
-
-
-
diff --git a/cts/schemas/test-3/ref/duplicate-nvpairs-no-default.ref-99 b/cts/schemas/test-3/ref/duplicate-nvpairs-no-default.ref-99
index dfd3a7b59e..cf5b98aec0 100644
--- a/cts/schemas/test-3/ref/duplicate-nvpairs-no-default.ref-99
+++ b/cts/schemas/test-3/ref/duplicate-nvpairs-no-default.ref-99
@@ -1,49 +1,41 @@
-
-
-
-
-
-
-
-
diff --git a/cts/schemas/test-3/ref/duplicate-nvpairs-with-default.ref-2 b/cts/schemas/test-3/ref/duplicate-nvpairs-with-default.ref-2
index 4770101a61..b2e24f4e22 100644
--- a/cts/schemas/test-3/ref/duplicate-nvpairs-with-default.ref-2
+++ b/cts/schemas/test-3/ref/duplicate-nvpairs-with-default.ref-2
@@ -1,75 +1,51 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/cts/schemas/test-3/ref/duplicate-nvpairs-with-default.ref-99 b/cts/schemas/test-3/ref/duplicate-nvpairs-with-default.ref-99
index 2c82fec17b..b80c05e32e 100644
--- a/cts/schemas/test-3/ref/duplicate-nvpairs-with-default.ref-99
+++ b/cts/schemas/test-3/ref/duplicate-nvpairs-with-default.ref-99
@@ -1,75 +1,51 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/cts/schemas/test-3/ref/id-ref.ref-2 b/cts/schemas/test-3/ref/id-ref.ref-2
index 6a43d728dd..d33ffb253e 100644
--- a/cts/schemas/test-3/ref/id-ref.ref-2
+++ b/cts/schemas/test-3/ref/id-ref.ref-2
@@ -1,72 +1,71 @@
-
diff --git a/cts/schemas/test-3/ref/id-ref.ref-99 b/cts/schemas/test-3/ref/id-ref.ref-99
index cb4ea469b4..b088730bdd 100644
--- a/cts/schemas/test-3/ref/id-ref.ref-99
+++ b/cts/schemas/test-3/ref/id-ref.ref-99
@@ -1,66 +1,65 @@
-
diff --git a/xml/upgrade-3.10-2.xsl b/xml/upgrade-3.10-2.xsl
index bafe032afb..54cec91a32 100644
--- a/xml/upgrade-3.10-2.xsl
+++ b/xml/upgrade-3.10-2.xsl
@@ -1,23 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+