summaryrefslogtreecommitdiff
path: root/result/c14n/with-comments
diff options
context:
space:
mode:
Diffstat (limited to 'result/c14n/with-comments')
-rw-r--r--result/c14n/with-comments/example-16
-rw-r--r--result/c14n/with-comments/example-211
-rw-r--r--result/c14n/with-comments/example-314
-rw-r--r--result/c14n/with-comments/example-49
-rw-r--r--result/c14n/with-comments/example-54
-rw-r--r--result/c14n/with-comments/example-61
-rw-r--r--result/c14n/with-comments/example-71
7 files changed, 46 insertions, 0 deletions
diff --git a/result/c14n/with-comments/example-1 b/result/c14n/with-comments/example-1
new file mode 100644
index 0000000..d98d168
--- /dev/null
+++ b/result/c14n/with-comments/example-1
@@ -0,0 +1,6 @@
+<?xml-stylesheet href="doc.xsl"
+ type="text/xsl" ?>
+<doc>Hello, world!<!-- Comment 1 --></doc>
+<?pi-without-data?>
+<!-- Comment 2 -->
+<!-- Comment 3 --> \ No newline at end of file
diff --git a/result/c14n/with-comments/example-2 b/result/c14n/with-comments/example-2
new file mode 100644
index 0000000..2afa15c
--- /dev/null
+++ b/result/c14n/with-comments/example-2
@@ -0,0 +1,11 @@
+<doc>
+ <clean> </clean>
+ <dirty> A B </dirty>
+ <mixed>
+ A
+ <clean> </clean>
+ B
+ <dirty> A B </dirty>
+ C
+ </mixed>
+</doc> \ No newline at end of file
diff --git a/result/c14n/with-comments/example-3 b/result/c14n/with-comments/example-3
new file mode 100644
index 0000000..4c287e6
--- /dev/null
+++ b/result/c14n/with-comments/example-3
@@ -0,0 +1,14 @@
+<doc>
+ <e1></e1>
+ <e2></e2>
+ <e3 id="elem3" name="elem3"></e3>
+ <e4 id="elem4" name="elem4"></e4>
+ <e5 xmlns="http://www.uvic.ca" xmlns:a="http://www.w3.org" xmlns:b="http://www.ietf.org" attr="I'm" attr2="all" b:attr="sorted" a:attr="out"></e5>
+ <e6 xmlns:a="http://www.w3.org">
+ <e7 xmlns="http://www.ietf.org">
+ <e8 xmlns="">
+ <e9 xmlns:a="http://www.ietf.org" attr="default"></e9>
+ </e8>
+ </e7>
+ </e6>
+</doc> \ No newline at end of file
diff --git a/result/c14n/with-comments/example-4 b/result/c14n/with-comments/example-4
new file mode 100644
index 0000000..26937c8
--- /dev/null
+++ b/result/c14n/with-comments/example-4
@@ -0,0 +1,9 @@
+<doc>
+ <text>First line&#xD;
+Second line</text>
+ <value>2</value>
+ <compute>value&gt;"0" &amp;&amp; value&lt;"10" ?"valid":"error"</compute>
+ <compute expr="value>&quot;0&quot; &amp;&amp; value&lt;&quot;10&quot; ?&quot;valid&quot;:&quot;error&quot;">valid</compute>
+ <norm attr=" ' &#xD;&#xA;&#x9; ' "></norm>
+ <normId id="' &#xD;&#xA;&#x9; '"></normId>
+</doc> \ No newline at end of file
diff --git a/result/c14n/with-comments/example-5 b/result/c14n/with-comments/example-5
new file mode 100644
index 0000000..457d402
--- /dev/null
+++ b/result/c14n/with-comments/example-5
@@ -0,0 +1,4 @@
+<doc attrExtEnt="entExt">
+ Hello, world!
+</doc>
+<!-- Let world.txt contain "world" (excluding the quotes) --> \ No newline at end of file
diff --git a/result/c14n/with-comments/example-6 b/result/c14n/with-comments/example-6
new file mode 100644
index 0000000..0be38f9
--- /dev/null
+++ b/result/c14n/with-comments/example-6
@@ -0,0 +1 @@
+<doc>©</doc> \ No newline at end of file
diff --git a/result/c14n/with-comments/example-7 b/result/c14n/with-comments/example-7
new file mode 100644
index 0000000..0a96cc4
--- /dev/null
+++ b/result/c14n/with-comments/example-7
@@ -0,0 +1 @@
+<e1 xmlns="http://www.ietf.org" xmlns:w3c="http://www.w3.org"><e3 xmlns="" id="E3" xml:space="preserve"></e3></e1> \ No newline at end of file