diff --git a/cts/schemas/test-3/ref.err/id-ref.ref.err-0 b/cts/schemas/test-3/ref.err/id-ref.ref.err-0
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/cts/schemas/test-3/ref.err/id-ref.ref.err-99 b/cts/schemas/test-3/ref.err/id-ref.ref.err-99
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/cts/schemas/test-3/ref/id-ref.ref-0 b/cts/schemas/test-3/ref/id-ref.ref-0
new file mode 100644
index 0000000000..85d347d691
--- /dev/null
+++ b/cts/schemas/test-3/ref/id-ref.ref-0
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cts/schemas/test-3/ref/id-ref.ref-99 b/cts/schemas/test-3/ref/id-ref.ref-99
new file mode 100644
index 0000000000..d8a2d3975a
--- /dev/null
+++ b/cts/schemas/test-3/ref/id-ref.ref-99
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cts/schemas/test-3/xml/id-ref.xml b/cts/schemas/test-3/xml/id-ref.xml
new file mode 100644
index 0000000000..56992f0101
--- /dev/null
+++ b/cts/schemas/test-3/xml/id-ref.xml
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/upgrade-3.10-0.xsl b/xml/upgrade-3.10-0.xsl
index ed33f031c8..4a1d0a26b2 100644
--- a/xml/upgrade-3.10-0.xsl
+++ b/xml/upgrade-3.10-0.xsl
@@ -1,23 +1,85 @@
-
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/upgrade-3.10-99.xsl b/xml/upgrade-3.10-99.xsl
new file mode 100644
index 0000000000..bad2ef5da8
--- /dev/null
+++ b/xml/upgrade-3.10-99.xsl
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xml/upgrade-3.10-common.xsl b/xml/upgrade-3.10-common.xsl
index 63ae2a7120..6859b61ea3 100644
--- a/xml/upgrade-3.10-common.xsl
+++ b/xml/upgrade-3.10-common.xsl
@@ -1,31 +1,98 @@
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+