diff --git a/format/asn1/testdata/tc1.xml b/format/asn1/testdata/tc1.xml
index 37584466d..922b57ee8 100644
--- a/format/asn1/testdata/tc1.xml
+++ b/format/asn1/testdata/tc1.xml
@@ -1,19 +1,19 @@
-
-
-
-
- Tag too long, represented as hex-coded
-
- CONTEXT_SPECIFIC
- false
- 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F
-
-
- false
- false
- 1
-
-
- 40
-
-
+
+
+
+
+ Tag too long, represented as hex-coded
+
+ CONTEXT_SPECIFIC
+ false
+ 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F
+
+
+ false
+ false
+ 1
+
+
+ 40
+
+
diff --git a/format/asn1/testdata/tc10.xml b/format/asn1/testdata/tc10.xml
index bcd53ab40..50d59d1af 100644
--- a/format/asn1/testdata/tc10.xml
+++ b/format/asn1/testdata/tc10.xml
@@ -1,34 +1,34 @@
-
-
-
- UNIVERSAL
- false
- 9
-
-
- false
- false
- 7
-
-
-
- false
- 2
- 0
- false
- 4
-
-
-
- Needlessly long format
-
- false
- -5
-
-
- false
- 5
-
- 0.156250
-
-
+
+
+
+ UNIVERSAL
+ false
+ 9
+
+
+ false
+ false
+ 7
+
+
+
+ false
+ 2
+ 0
+ false
+ 4
+
+
+
+ Needlessly long format
+
+ false
+ -5
+
+
+ false
+ 5
+
+ 0.156250
+
+
diff --git a/format/asn1/testdata/tc11.xml b/format/asn1/testdata/tc11.xml
index e073c62dc..4f34fb480 100644
--- a/format/asn1/testdata/tc11.xml
+++ b/format/asn1/testdata/tc11.xml
@@ -1,20 +1,20 @@
-
-
- Wrong NR form
-
- UNIVERSAL
- false
- 9
-
-
- false
- false
- 9
-
-
- Wrong NR form
-
- Wrong NR form
-
-
-
+
+
+ Wrong NR form
+
+ UNIVERSAL
+ false
+ 9
+
+
+ false
+ false
+ 9
+
+
+ Wrong NR form
+
+ Wrong NR form
+
+
+
diff --git a/format/asn1/testdata/tc12.xml b/format/asn1/testdata/tc12.xml
index 8b096df2a..c1fd30209 100644
--- a/format/asn1/testdata/tc12.xml
+++ b/format/asn1/testdata/tc12.xml
@@ -1,20 +1,20 @@
-
-
- Unknown special REAL value
-
- UNIVERSAL
- false
- 9
-
-
- false
- false
- 1
-
-
- Unknown special REAL value
-
- Unknown special REAL value
-
-
-
+
+
+ Unknown special REAL value
+
+ UNIVERSAL
+ false
+ 9
+
+
+ false
+ false
+ 1
+
+
+ Unknown special REAL value
+
+ Unknown special REAL value
+
+
+
diff --git a/format/asn1/testdata/tc13.xml b/format/asn1/testdata/tc13.xml
index 71a72831b..78131c90d 100644
--- a/format/asn1/testdata/tc13.xml
+++ b/format/asn1/testdata/tc13.xml
@@ -1,38 +1,38 @@
-
-
- End of input reached before message was fully decoded
-
- UNIVERSAL
- false
- 9
-
-
-
- Needlessly long encoded length
- Unneccesary usage of long length form
-
- false
- true
- 7
-
-
- End of input reached before message was fully decoded
-
- false
- 2
- 0
- false
- 4
-
-
-
- Needlessly long format
-
- false
- -5
-
-
- End of input reached before message was fully decoded
-
-
-
+
+
+ End of input reached before message was fully decoded
+
+ UNIVERSAL
+ false
+ 9
+
+
+
+ Needlessly long encoded length
+ Unneccesary usage of long length form
+
+ false
+ true
+ 7
+
+
+ End of input reached before message was fully decoded
+
+ false
+ 2
+ 0
+ false
+ 4
+
+
+
+ Needlessly long format
+
+ false
+ -5
+
+
+ End of input reached before message was fully decoded
+
+
+
diff --git a/format/asn1/testdata/tc14.xml b/format/asn1/testdata/tc14.xml
index 4ea2f944a..923388d1a 100644
--- a/format/asn1/testdata/tc14.xml
+++ b/format/asn1/testdata/tc14.xml
@@ -1,31 +1,31 @@
-
-
- End of input reached before message was fully decoded
-
- UNIVERSAL
- false
- 9
-
-
-
- Needlessly long encoded length
- Unneccesary usage of long length form
-
- false
- true
- 7
-
-
- End of input reached before message was fully decoded
-
- false
- 2
- 0
- false
- 4
-
-
- End of input reached before message was fully decoded
-
-
-
+
+
+ End of input reached before message was fully decoded
+
+ UNIVERSAL
+ false
+ 9
+
+
+
+ Needlessly long encoded length
+ Unneccesary usage of long length form
+
+ false
+ true
+ 7
+
+
+ End of input reached before message was fully decoded
+
+ false
+ 2
+ 0
+ false
+ 4
+
+
+ End of input reached before message was fully decoded
+
+
+
diff --git a/format/asn1/testdata/tc15.xml b/format/asn1/testdata/tc15.xml
index ce106f3d4..625917ba3 100644
--- a/format/asn1/testdata/tc15.xml
+++ b/format/asn1/testdata/tc15.xml
@@ -1,34 +1,34 @@
-
-
-
- UNIVERSAL
- false
- 9
-
-
- false
- false
- 12
-
-
-
- false
- 2
- 0
- false
- 4
-
-
-
- Too big REAL exponent block for decoding, hex only
-
- true
- 09 7F FF FF FF FF FF FF FF FB
-
-
- false
- 5
-
- 5 * 2^{09 7F FF FF FF FF FF FF FF FB}
-
-
+
+
+
+ UNIVERSAL
+ false
+ 9
+
+
+ false
+ false
+ 12
+
+
+
+ false
+ 2
+ 0
+ false
+ 4
+
+
+
+ Too big REAL exponent block for decoding, hex only
+
+ true
+ 09 7F FF FF FF FF FF FF FF FB
+
+
+ false
+ 5
+
+ 5 * 2^{09 7F FF FF FF FF FF FF FF FB}
+
+
diff --git a/format/asn1/testdata/tc16.xml b/format/asn1/testdata/tc16.xml
index 22c4b8d39..e2cc5b665 100644
--- a/format/asn1/testdata/tc16.xml
+++ b/format/asn1/testdata/tc16.xml
@@ -1,34 +1,34 @@
-
-
-
- UNIVERSAL
- false
- 9
-
-
- false
- false
- 12
-
-
-
- false
- 2
- 0
- false
- 1
-
-
- false
- -5
-
-
-
- Too big REAL mantissa for decoding, hex only
-
- true
- 05 05 05 05 05 05 05 05 05 05
-
- {05 05 05 05 05 05 05 05 05 05} * 2^-5
-
-
+
+
+
+ UNIVERSAL
+ false
+ 9
+
+
+ false
+ false
+ 12
+
+
+
+ false
+ 2
+ 0
+ false
+ 1
+
+
+ false
+ -5
+
+
+
+ Too big REAL mantissa for decoding, hex only
+
+ true
+ 05 05 05 05 05 05 05 05 05 05
+
+ {05 05 05 05 05 05 05 05 05 05} * 2^-5
+
+
diff --git a/format/asn1/testdata/tc17.xml b/format/asn1/testdata/tc17.xml
index 67d9403d9..3708347ff 100644
--- a/format/asn1/testdata/tc17.xml
+++ b/format/asn1/testdata/tc17.xml
@@ -1,37 +1,37 @@
-
-
-
- UNIVERSAL
- false
- 9
-
-
- false
- false
- 20
-
-
-
- false
- 16
- 3
- false
- 4
-
-
-
- Too big REAL exponent block for decoding, hex only
-
- true
- 09 FE FF FF FF FF FF FF FF FF
-
-
-
- Too big REAL mantissa for decoding, hex only
-
- true
- 05 05 05 05 05 05 05 05 05
-
- {05 05 05 05 05 05 05 05 05} * 16^{09 FE FF FF FF FF FF FF FF FF} * 2^3
-
-
+
+
+
+ UNIVERSAL
+ false
+ 9
+
+
+ false
+ false
+ 20
+
+
+
+ false
+ 16
+ 3
+ false
+ 4
+
+
+
+ Too big REAL exponent block for decoding, hex only
+
+ true
+ 09 FE FF FF FF FF FF FF FF FF
+
+
+
+ Too big REAL mantissa for decoding, hex only
+
+ true
+ 05 05 05 05 05 05 05 05 05
+
+ {05 05 05 05 05 05 05 05 05} * 16^{09 FE FF FF FF FF FF FF FF FF} * 2^3
+
+
diff --git a/format/asn1/testdata/tc18.xml b/format/asn1/testdata/tc18.xml
index 661e30a81..9a12da39c 100644
--- a/format/asn1/testdata/tc18.xml
+++ b/format/asn1/testdata/tc18.xml
@@ -1,19 +1,19 @@
-
-
-
- UNIVERSAL
- false
- 2
-
-
- false
- false
- 3
-
-
-
- Needlessly long format
-
- -4095
-
-
+
+
+
+ UNIVERSAL
+ false
+ 2
+
+
+ false
+ false
+ 3
+
+
+
+ Needlessly long format
+
+ -4095
+
+
diff --git a/format/asn1/testdata/tc19.xml b/format/asn1/testdata/tc19.xml
index 79a96a420..2884a80fd 100644
--- a/format/asn1/testdata/tc19.xml
+++ b/format/asn1/testdata/tc19.xml
@@ -1,17 +1,17 @@
-
-
- End of input reached before message was fully decoded
-
- UNIVERSAL
- false
- 2
-
-
- false
- false
- 1
-
-
- End of input reached before message was fully decoded
-
-
+
+
+ End of input reached before message was fully decoded
+
+ UNIVERSAL
+ false
+ 2
+
+
+ false
+ false
+ 1
+
+
+ End of input reached before message was fully decoded
+
+
diff --git a/format/asn1/testdata/tc2.xml b/format/asn1/testdata/tc2.xml
index d8a8a8d90..2d1dc88ec 100644
--- a/format/asn1/testdata/tc2.xml
+++ b/format/asn1/testdata/tc2.xml
@@ -1,7 +1,7 @@
-
-
- End of input reached before message was fully decoded
-
- End of input reached before message was fully decoded
-
-
+
+
+ End of input reached before message was fully decoded
+
+ End of input reached before message was fully decoded
+
+
diff --git a/format/asn1/testdata/tc20.xml b/format/asn1/testdata/tc20.xml
index 6e973fdd1..601fc746e 100644
--- a/format/asn1/testdata/tc20.xml
+++ b/format/asn1/testdata/tc20.xml
@@ -1,19 +1,19 @@
-
-
-
- UNIVERSAL
- false
- 2
-
-
- false
- false
- 9
-
-
-
- Too big REAL for decoding, hex only
-
- 80 00 01 01 01 01 01 01 01
-
-
+
+
+
+ UNIVERSAL
+ false
+ 2
+
+
+ false
+ false
+ 9
+
+
+
+ Too big REAL for decoding, hex only
+
+ 80 00 01 01 01 01 01 01 01
+
+
diff --git a/format/asn1/testdata/tc21.xml b/format/asn1/testdata/tc21.xml
index f58e7a014..4497aaff3 100644
--- a/format/asn1/testdata/tc21.xml
+++ b/format/asn1/testdata/tc21.xml
@@ -1,35 +1,35 @@
-
-
-
- UNIVERSAL
- false
- 6
-
-
- false
- false
- 6
-
-
-
-
-
- Needlessly long format of SID encoding
-
- true
- false
- 81
-
-
-
- Needlessly long format of SID encoding
-
- false
- false
- 1
-
-
- false
- 2.1.1
-
-
+
+
+
+ UNIVERSAL
+ false
+ 6
+
+
+ false
+ false
+ 6
+
+
+
+
+
+ Needlessly long format of SID encoding
+
+ true
+ false
+ 81
+
+
+
+ Needlessly long format of SID encoding
+
+ false
+ false
+ 1
+
+
+ false
+ 2.1.1
+
+
diff --git a/format/asn1/testdata/tc22.xml b/format/asn1/testdata/tc22.xml
index 7adc12ada..88148fb4d 100644
--- a/format/asn1/testdata/tc22.xml
+++ b/format/asn1/testdata/tc22.xml
@@ -1,47 +1,47 @@
-
-
-
- UNIVERSAL
- false
- 6
-
-
- false
- false
- 16
-
-
-
-
-
- Too big SID for decoding, hex only
-
- true
- true
- 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 0F
-
-
- false
- false
- 643
-
-
- false
- false
- 2
-
-
- false
- false
- 2
-
-
- false
- false
- 3
-
-
- true
- 2.{{7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 0F} - 80}.643.2.2.3
-
-
+
+
+
+ UNIVERSAL
+ false
+ 6
+
+
+ false
+ false
+ 16
+
+
+
+
+
+ Too big SID for decoding, hex only
+
+ true
+ true
+ 7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 0F
+
+
+ false
+ false
+ 643
+
+
+ false
+ false
+ 2
+
+
+ false
+ false
+ 2
+
+
+ false
+ false
+ 3
+
+
+ true
+ 2.{{7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 0F} - 80}.643.2.2.3
+
+
diff --git a/format/asn1/testdata/tc23.xml b/format/asn1/testdata/tc23.xml
index 57de79232..8aff7ad39 100644
--- a/format/asn1/testdata/tc23.xml
+++ b/format/asn1/testdata/tc23.xml
@@ -1,17 +1,17 @@
-
-
- End of input reached before message was fully decoded
-
- UNIVERSAL
- false
- 6
-
-
- false
- false
- 17
-
-
- End of input reached before message was fully decoded
-
-
+
+
+ End of input reached before message was fully decoded
+
+ UNIVERSAL
+ false
+ 6
+
+
+ false
+ false
+ 17
+
+
+ End of input reached before message was fully decoded
+
+
diff --git a/format/asn1/testdata/tc24.xml b/format/asn1/testdata/tc24.xml
index 473b7a270..89f0222f6 100644
--- a/format/asn1/testdata/tc24.xml
+++ b/format/asn1/testdata/tc24.xml
@@ -1,64 +1,64 @@
-
-
-
- UNIVERSAL
- false
- 6
-
-
- false
- false
- 21
-
-
-
-
- true
- false
- 10080
-
-
- false
- false
- 840
-
-
- false
- false
- 135119
-
-
- false
- false
- 9
-
-
- false
- false
- 2
-
-
- false
- false
- 12301002
-
-
- false
- false
- 12132323
-
-
- false
- false
- 191919
-
-
- false
- false
- 2
-
-
- false
- 2.10000.840.135119.9.2.12301002.12132323.191919.2
-
-
+
+
+
+ UNIVERSAL
+ false
+ 6
+
+
+ false
+ false
+ 21
+
+
+
+
+ true
+ false
+ 10080
+
+
+ false
+ false
+ 840
+
+
+ false
+ false
+ 135119
+
+
+ false
+ false
+ 9
+
+
+ false
+ false
+ 2
+
+
+ false
+ false
+ 12301002
+
+
+ false
+ false
+ 12132323
+
+
+ false
+ false
+ 191919
+
+
+ false
+ false
+ 2
+
+
+ false
+ 2.10000.840.135119.9.2.12301002.12132323.191919.2
+
+
diff --git a/format/asn1/testdata/tc25.xml b/format/asn1/testdata/tc25.xml
index e8b8f1a59..3dc71310e 100644
--- a/format/asn1/testdata/tc25.xml
+++ b/format/asn1/testdata/tc25.xml
@@ -1,20 +1,20 @@
-
-
-
- UNIVERSAL
- false
- 1
-
-
- false
- false
- 3
-
-
-
- Needlessly long format
- BOOLEAN value encoded in more then 1 octet
-
- 00 00 00
-
-
+
+
+
+ UNIVERSAL
+ false
+ 1
+
+
+ false
+ false
+ 3
+
+
+
+ Needlessly long format
+ BOOLEAN value encoded in more then 1 octet
+
+ 00 00 00
+
+
diff --git a/format/asn1/testdata/tc26.xml b/format/asn1/testdata/tc26.xml
index 33400d122..ccfcee55b 100644
--- a/format/asn1/testdata/tc26.xml
+++ b/format/asn1/testdata/tc26.xml
@@ -1,20 +1,20 @@
-
-
-
- UNIVERSAL
- false
- 1
-
-
- false
- false
- 3
-
-
-
- Needlessly long format
- BOOLEAN value encoded in more then 1 octet
-
- 00 00 01
-
-
+
+
+
+ UNIVERSAL
+ false
+ 1
+
+
+ false
+ false
+ 3
+
+
+
+ Needlessly long format
+ BOOLEAN value encoded in more then 1 octet
+
+ 00 00 01
+
+
diff --git a/format/asn1/testdata/tc27.xml b/format/asn1/testdata/tc27.xml
index 300226de5..c9c5ea849 100644
--- a/format/asn1/testdata/tc27.xml
+++ b/format/asn1/testdata/tc27.xml
@@ -1,17 +1,17 @@
-
-
- End of input reached before message was fully decoded
-
- UNIVERSAL
- false
- 1
-
-
- false
- false
- 3
-
-
- End of input reached before message was fully decoded
-
-
+
+
+ End of input reached before message was fully decoded
+
+ UNIVERSAL
+ false
+ 1
+
+
+ false
+ false
+ 3
+
+
+ End of input reached before message was fully decoded
+
+
diff --git a/format/asn1/testdata/tc28.xml b/format/asn1/testdata/tc28.xml
index e9ea8eec0..06ce573c2 100644
--- a/format/asn1/testdata/tc28.xml
+++ b/format/asn1/testdata/tc28.xml
@@ -1,16 +1,16 @@
-
-
-
- UNIVERSAL
- false
- 1
-
-
- false
- false
- 1
-
-
- FF
-
-
+
+
+
+ UNIVERSAL
+ false
+ 1
+
+
+ false
+ false
+ 1
+
+
+ FF
+
+
diff --git a/format/asn1/testdata/tc29.xml b/format/asn1/testdata/tc29.xml
index 4b74c6490..3d88f0db4 100644
--- a/format/asn1/testdata/tc29.xml
+++ b/format/asn1/testdata/tc29.xml
@@ -1,16 +1,16 @@
-
-
-
- UNIVERSAL
- false
- 1
-
-
- false
- false
- 1
-
-
- 00
-
-
+
+
+
+ UNIVERSAL
+ false
+ 1
+
+
+ false
+ false
+ 1
+
+
+ 00
+
+
diff --git a/format/asn1/testdata/tc3.xml b/format/asn1/testdata/tc3.xml
index 0b340d5ff..57147cca6 100644
--- a/format/asn1/testdata/tc3.xml
+++ b/format/asn1/testdata/tc3.xml
@@ -1,15 +1,15 @@
-
-
- No length block encoded
-
-
- Tag too long, represented as hex-coded
-
- CONTEXT_SPECIFIC
- false
- 7F 7F 7F 7F 7F 7F 7F 7F 7F
-
-
- No length block encoded
-
-
+
+
+ No length block encoded
+
+
+ Tag too long, represented as hex-coded
+
+ CONTEXT_SPECIFIC
+ false
+ 7F 7F 7F 7F 7F 7F 7F 7F 7F
+
+
+ No length block encoded
+
+
diff --git a/format/asn1/testdata/tc30.xml b/format/asn1/testdata/tc30.xml
index a4ad43a34..460eb8a96 100644
--- a/format/asn1/testdata/tc30.xml
+++ b/format/asn1/testdata/tc30.xml
@@ -1,18 +1,18 @@
-
-
-
- UNIVERSAL
- false
- 5
-
-
- false
- false
- 3
-
-
-
- Non-zero length of value block for NULL type
-
-
-
+
+
+
+ UNIVERSAL
+ false
+ 5
+
+
+ false
+ false
+ 3
+
+
+
+ Non-zero length of value block for NULL type
+
+
+
diff --git a/format/asn1/testdata/tc31.xml b/format/asn1/testdata/tc31.xml
index 4361c7f49..9be4ddccf 100644
--- a/format/asn1/testdata/tc31.xml
+++ b/format/asn1/testdata/tc31.xml
@@ -1,20 +1,20 @@
-
-
- End of input reached before message was fully decoded
-
- UNIVERSAL
- false
- 5
-
-
- false
- false
- 3
-
-
-
- Non-zero length of value block for NULL type
-
- End of input reached before message was fully decoded
-
-
+
+
+ End of input reached before message was fully decoded
+
+ UNIVERSAL
+ false
+ 5
+
+
+ false
+ false
+ 3
+
+
+
+ Non-zero length of value block for NULL type
+
+ End of input reached before message was fully decoded
+
+
diff --git a/format/asn1/testdata/tc32.xml b/format/asn1/testdata/tc32.xml
index 78c790ee5..aa4ef3039 100644
--- a/format/asn1/testdata/tc32.xml
+++ b/format/asn1/testdata/tc32.xml
@@ -1,14 +1,14 @@
-
-
-
- UNIVERSAL
- false
- 5
-
-
- false
- false
- 0
-
-
-
+
+
+
+ UNIVERSAL
+ false
+ 5
+
+
+ false
+ false
+ 0
+
+
+
diff --git a/format/asn1/testdata/tc33.xml b/format/asn1/testdata/tc33.xml
index 510f61081..f8be72c2e 100644
--- a/format/asn1/testdata/tc33.xml
+++ b/format/asn1/testdata/tc33.xml
@@ -1,17 +1,17 @@
-
-
- Unused bits for BITSTRING must be in range 0-7
-
- UNIVERSAL
- false
- 3
-
-
- false
- false
- 2
-
-
- Unused bits for BITSTRING must be in range 0-7
-
-
+
+
+ Unused bits for BITSTRING must be in range 0-7
+
+ UNIVERSAL
+ false
+ 3
+
+
+ false
+ false
+ 2
+
+
+ Unused bits for BITSTRING must be in range 0-7
+
+
diff --git a/format/asn1/testdata/tc34.xml b/format/asn1/testdata/tc34.xml
index bfa7eb2cf..a25007ba5 100644
--- a/format/asn1/testdata/tc34.xml
+++ b/format/asn1/testdata/tc34.xml
@@ -1,17 +1,17 @@
-
-
- End of input reached before message was fully decoded
-
- UNIVERSAL
- false
- 3
-
-
- false
- false
- 2
-
-
- End of input reached before message was fully decoded
-
-
+
+
+ End of input reached before message was fully decoded
+
+ UNIVERSAL
+ false
+ 3
+
+
+ false
+ false
+ 2
+
+
+ End of input reached before message was fully decoded
+
+
diff --git a/format/asn1/testdata/tc35.xml b/format/asn1/testdata/tc35.xml
index 4ad638db5..3941b324f 100644
--- a/format/asn1/testdata/tc35.xml
+++ b/format/asn1/testdata/tc35.xml
@@ -1,17 +1,17 @@
-
-
- BIT STRING may consists of BIT STRINGs only
-
- UNIVERSAL
- true
- 3
-
-
- true
- false
- 0
-
-
- BIT STRING may consists of BIT STRINGs only
-
-
+
+
+ BIT STRING may consists of BIT STRINGs only
+
+ UNIVERSAL
+ true
+ 3
+
+
+ true
+ false
+ 0
+
+
+ BIT STRING may consists of BIT STRINGs only
+
+
diff --git a/format/asn1/testdata/tc36.xml b/format/asn1/testdata/tc36.xml
index 7e3b530df..222d7e6c0 100644
--- a/format/asn1/testdata/tc36.xml
+++ b/format/asn1/testdata/tc36.xml
@@ -1,17 +1,17 @@
-
-
- Usign of "unused bits" inside constructive BIT STRING allowed for least one only
-
- UNIVERSAL
- true
- 3
-
-
- true
- false
- 0
-
-
- Usign of "unused bits" inside constructive BIT STRING allowed for least one only
-
-
+
+
+ Usign of "unused bits" inside constructive BIT STRING allowed for least one only
+
+ UNIVERSAL
+ true
+ 3
+
+
+ true
+ false
+ 0
+
+
+ Usign of "unused bits" inside constructive BIT STRING allowed for least one only
+
+
diff --git a/format/asn1/testdata/tc37.xml b/format/asn1/testdata/tc37.xml
index b65ddf89b..50d08dedd 100644
--- a/format/asn1/testdata/tc37.xml
+++ b/format/asn1/testdata/tc37.xml
@@ -1,63 +1,63 @@
-
-
-
- UNIVERSAL
- true
- 3
-
-
- false
- false
- 12
-
-
-
-
- UNIVERSAL
- false
- 3
-
-
- false
- false
- 2
-
-
- 0
- 0000 0001
-
-
-
-
- UNIVERSAL
- false
- 3
-
-
- false
- false
- 2
-
-
- 0
- 0000 0001
-
-
-
-
- UNIVERSAL
- false
- 3
-
-
- false
- false
- 2
-
-
- 4
- 0000 1111
-
-
-
-
+
+
+
+ UNIVERSAL
+ true
+ 3
+
+
+ false
+ false
+ 12
+
+
+
+
+ UNIVERSAL
+ false
+ 3
+
+
+ false
+ false
+ 2
+
+
+ 0
+ 0000 0001
+
+
+
+
+ UNIVERSAL
+ false
+ 3
+
+
+ false
+ false
+ 2
+
+
+ 0
+ 0000 0001
+
+
+
+
+ UNIVERSAL
+ false
+ 3
+
+
+ false
+ false
+ 2
+
+
+ 4
+ 0000 1111
+
+
+
+
diff --git a/format/asn1/testdata/tc38.xml b/format/asn1/testdata/tc38.xml
index 751df4dca..263592c10 100644
--- a/format/asn1/testdata/tc38.xml
+++ b/format/asn1/testdata/tc38.xml
@@ -1,47 +1,47 @@
-
-
-
- UNIVERSAL
- true
- 3
-
-
- true
- false
- 0
-
-
-
-
- UNIVERSAL
- false
- 3
-
-
- false
- false
- 3
-
-
- 0
- 0000 1010 0011 1011
-
-
-
-
- UNIVERSAL
- false
- 3
-
-
- false
- false
- 5
-
-
- 4
- 0101 1111 0010 1001 0001 1100 1101 0000
-
-
-
-
+
+
+
+ UNIVERSAL
+ true
+ 3
+
+
+ true
+ false
+ 0
+
+
+
+
+ UNIVERSAL
+ false
+ 3
+
+
+ false
+ false
+ 3
+
+
+ 0
+ 0000 1010 0011 1011
+
+
+
+
+ UNIVERSAL
+ false
+ 3
+
+
+ false
+ false
+ 5
+
+
+ 4
+ 0101 1111 0010 1001 0001 1100 1101 0000
+
+
+
+
diff --git a/format/asn1/testdata/tc39.xml b/format/asn1/testdata/tc39.xml
index bd11ca4c1..9cd3f6143 100644
--- a/format/asn1/testdata/tc39.xml
+++ b/format/asn1/testdata/tc39.xml
@@ -1,14 +1,14 @@
-
-
-
- UNIVERSAL
- true
- 3
-
-
- false
- false
- 0
-
-
-
+
+
+
+ UNIVERSAL
+ true
+ 3
+
+
+ false
+ false
+ 0
+
+
+
diff --git a/format/asn1/testdata/tc4.xml b/format/asn1/testdata/tc4.xml
index 204523505..0d1160cae 100644
--- a/format/asn1/testdata/tc4.xml
+++ b/format/asn1/testdata/tc4.xml
@@ -1,15 +1,15 @@
-
-
- Length block 0xFF is reserved by standard
-
-
- Tag too long, represented as hex-coded
-
- CONTEXT_SPECIFIC
- false
- 7F 7F 7F 7F 7F 7F 7F 7F 7F
-
-
- Length block 0xFF is reserved by standard
-
-
+
+
+ Length block 0xFF is reserved by standard
+
+
+ Tag too long, represented as hex-coded
+
+ CONTEXT_SPECIFIC
+ false
+ 7F 7F 7F 7F 7F 7F 7F 7F 7F
+
+
+ Length block 0xFF is reserved by standard
+
+
diff --git a/format/asn1/testdata/tc40.xml b/format/asn1/testdata/tc40.xml
index fe2562287..2988b39a0 100644
--- a/format/asn1/testdata/tc40.xml
+++ b/format/asn1/testdata/tc40.xml
@@ -1,14 +1,14 @@
-
-
-
- UNIVERSAL
- false
- 3
-
-
- false
- false
- 0
-
-
-
+
+
+
+ UNIVERSAL
+ false
+ 3
+
+
+ false
+ false
+ 0
+
+
+
diff --git a/format/asn1/testdata/tc41.xml b/format/asn1/testdata/tc41.xml
index a6fcecfd3..3e7e50119 100644
--- a/format/asn1/testdata/tc41.xml
+++ b/format/asn1/testdata/tc41.xml
@@ -1,17 +1,17 @@
-
-
- OCTET STRING may consists of OCTET STRINGs only
-
- UNIVERSAL
- true
- 4
-
-
- true
- false
- 0
-
-
- OCTET STRING may consists of OCTET STRINGs only
-
-
+
+
+ OCTET STRING may consists of OCTET STRINGs only
+
+ UNIVERSAL
+ true
+ 4
+
+
+ true
+ false
+ 0
+
+
+ OCTET STRING may consists of OCTET STRINGs only
+
+
diff --git a/format/asn1/testdata/tc42.xml b/format/asn1/testdata/tc42.xml
index f4655c404..957c441ff 100644
--- a/format/asn1/testdata/tc42.xml
+++ b/format/asn1/testdata/tc42.xml
@@ -1,17 +1,17 @@
-
-
- End of input reached before message was fully decoded
-
- UNIVERSAL
- true
- 4
-
-
- true
- false
- 0
-
-
- End of input reached before message was fully decoded
-
-
+
+
+ End of input reached before message was fully decoded
+
+ UNIVERSAL
+ true
+ 4
+
+
+ true
+ false
+ 0
+
+
+ End of input reached before message was fully decoded
+
+
diff --git a/format/asn1/testdata/tc43.xml b/format/asn1/testdata/tc43.xml
index 6294b17cc..6f261e5ee 100644
--- a/format/asn1/testdata/tc43.xml
+++ b/format/asn1/testdata/tc43.xml
@@ -1,17 +1,17 @@
-
-
- End of input reached before message was fully decoded
-
- UNIVERSAL
- true
- 4
-
-
- false
- false
- 3
-
-
- End of input reached before message was fully decoded
-
-
+
+
+ End of input reached before message was fully decoded
+
+ UNIVERSAL
+ true
+ 4
+
+
+ false
+ false
+ 3
+
+
+ End of input reached before message was fully decoded
+
+
diff --git a/format/asn1/testdata/tc44.xml b/format/asn1/testdata/tc44.xml
index 15cf44cad..5d3df4bf4 100644
--- a/format/asn1/testdata/tc44.xml
+++ b/format/asn1/testdata/tc44.xml
@@ -1,14 +1,14 @@
-
-
-
- UNIVERSAL
- false
- 4
-
-
- false
- false
- 0
-
-
-
+
+
+
+ UNIVERSAL
+ false
+ 4
+
+
+ false
+ false
+ 0
+
+
+
diff --git a/format/asn1/testdata/tc45.xml b/format/asn1/testdata/tc45.xml
index 67ec4d740..faaf2bae4 100644
--- a/format/asn1/testdata/tc45.xml
+++ b/format/asn1/testdata/tc45.xml
@@ -1,14 +1,14 @@
-
-
-
- UNIVERSAL
- true
- 4
-
-
- false
- false
- 0
-
-
-
+
+
+
+ UNIVERSAL
+ true
+ 4
+
+
+ false
+ false
+ 0
+
+
+
diff --git a/format/asn1/testdata/tc46.xml b/format/asn1/testdata/tc46.xml
index e383f1559..8dbdef14e 100644
--- a/format/asn1/testdata/tc46.xml
+++ b/format/asn1/testdata/tc46.xml
@@ -1,14 +1,14 @@
-
-
- Indefinite length form used for primitive encoding form
-
- UNIVERSAL
- false
- 3
-
-
- true
- false
- 0
-
-
+
+
+ Indefinite length form used for primitive encoding form
+
+ UNIVERSAL
+ false
+ 3
+
+
+ true
+ false
+ 0
+
+
diff --git a/format/asn1/testdata/tc47.xml b/format/asn1/testdata/tc47.xml
index 930fd5be4..469b4e7ec 100644
--- a/format/asn1/testdata/tc47.xml
+++ b/format/asn1/testdata/tc47.xml
@@ -1,17 +1,17 @@
-
-
- EOC is unexpected, BIT STRING may consists of BIT STRINGs only
-
- UNIVERSAL
- true
- 3
-
-
- false
- false
- 14
-
-
- EOC is unexpected, BIT STRING may consists of BIT STRINGs only
-
-
+
+
+ EOC is unexpected, BIT STRING may consists of BIT STRINGs only
+
+ UNIVERSAL
+ true
+ 3
+
+
+ false
+ false
+ 14
+
+
+ EOC is unexpected, BIT STRING may consists of BIT STRINGs only
+
+
diff --git a/format/asn1/testdata/tc48.xml b/format/asn1/testdata/tc48.xml
index 32f32b96b..348fd064f 100644
--- a/format/asn1/testdata/tc48.xml
+++ b/format/asn1/testdata/tc48.xml
@@ -1,17 +1,17 @@
-
-
- Unused bits for BITSTRING must be in range 0-7
-
- UNIVERSAL
- true
- 3
-
-
- true
- false
- 0
-
-
- Unused bits for BITSTRING must be in range 0-7
-
-
+
+
+ Unused bits for BITSTRING must be in range 0-7
+
+ UNIVERSAL
+ true
+ 3
+
+
+ true
+ false
+ 0
+
+
+ Unused bits for BITSTRING must be in range 0-7
+
+
diff --git a/format/asn1/testdata/tc5.xml b/format/asn1/testdata/tc5.xml
index 1977f5708..4f9e7aa90 100644
--- a/format/asn1/testdata/tc5.xml
+++ b/format/asn1/testdata/tc5.xml
@@ -1,22 +1,22 @@
-
-
-
-
- Tag too long, represented as hex-coded
-
- CONTEXT_SPECIFIC
- false
- 7F 7F 7F 7F 7F 7F 7F 7F 7F
-
-
-
- Unneccesary usage of long length form
-
- false
- true
- 1
-
-
- 40
-
-
+
+
+
+
+ Tag too long, represented as hex-coded
+
+ CONTEXT_SPECIFIC
+ false
+ 7F 7F 7F 7F 7F 7F 7F 7F 7F
+
+
+
+ Unneccesary usage of long length form
+
+ false
+ true
+ 1
+
+
+ 40
+
+
diff --git a/format/asn1/testdata/tc6.xml b/format/asn1/testdata/tc6.xml
index 310d9d9a9..103820509 100644
--- a/format/asn1/testdata/tc6.xml
+++ b/format/asn1/testdata/tc6.xml
@@ -1,28 +1,28 @@
-
-
-
- UNIVERSAL
- false
- 9
-
-
- false
- false
- 7
-
-
-
- REAL values for +0 and -0 can not be encoded in decimal format
-
-
- false
- 10
- 3
-
-
- true
- 2B 2E 45 2D 35
-
- +.E-5
-
-
+
+
+
+ UNIVERSAL
+ false
+ 9
+
+
+ false
+ false
+ 7
+
+
+
+ REAL values for +0 and -0 can not be encoded in decimal format
+
+
+ false
+ 10
+ 3
+
+
+ true
+ 2B 2E 45 2D 35
+
+ +.E-5
+
+
diff --git a/format/asn1/testdata/tc7.xml b/format/asn1/testdata/tc7.xml
index 1d6294491..2005ddc60 100644
--- a/format/asn1/testdata/tc7.xml
+++ b/format/asn1/testdata/tc7.xml
@@ -1,28 +1,28 @@
-
-
-
- UNIVERSAL
- false
- 9
-
-
- false
- false
- 7
-
-
-
- REAL values for +0 and -0 can not be encoded in decimal format
-
-
- false
- 10
- 3
-
-
- true
- 2D 2E 45 2D 35
-
- -.E-5
-
-
+
+
+
+ UNIVERSAL
+ false
+ 9
+
+
+ false
+ false
+ 7
+
+
+
+ REAL values for +0 and -0 can not be encoded in decimal format
+
+
+ false
+ 10
+ 3
+
+
+ true
+ 2D 2E 45 2D 35
+
+ -.E-5
+
+
diff --git a/format/asn1/testdata/tc8.xml b/format/asn1/testdata/tc8.xml
index 6a6c1efdc..25e3b7aff 100644
--- a/format/asn1/testdata/tc8.xml
+++ b/format/asn1/testdata/tc8.xml
@@ -1,22 +1,22 @@
-
-
-
- UNIVERSAL
- false
- 9
-
-
- false
- false
- 3
-
-
-
-
- Special REAL value should be encoded by 1 octet only
-
- true
- MINUS-INFINITY
-
-
-
+
+
+
+ UNIVERSAL
+ false
+ 9
+
+
+ false
+ false
+ 3
+
+
+
+
+ Special REAL value should be encoded by 1 octet only
+
+ true
+ MINUS-INFINITY
+
+
+
diff --git a/format/asn1/testdata/tc9.xml b/format/asn1/testdata/tc9.xml
index 8d0132b0d..ef5cd1145 100644
--- a/format/asn1/testdata/tc9.xml
+++ b/format/asn1/testdata/tc9.xml
@@ -1,20 +1,20 @@
-
-
- Encoded reserved value with BASE (11)
-
- UNIVERSAL
- false
- 9
-
-
- false
- false
- 3
-
-
- Encoded reserved value with BASE (11)
-
- Encoded reserved value with BASE (11)
-
-
-
+
+
+ Encoded reserved value with BASE (11)
+
+ UNIVERSAL
+ false
+ 9
+
+
+ false
+ false
+ 3
+
+
+ Encoded reserved value with BASE (11)
+
+ Encoded reserved value with BASE (11)
+
+
+