summaryrefslogtreecommitdiffstats
path: root/libxml2/test/att5
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-11-17 20:58:44 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-11-17 20:58:44 (GMT)
commit4f65b25b474bf534e40c3d3aa47d43e8457fcc9a (patch)
tree21aab4f800fd8a5046a929b3243edf9d461917d5 /libxml2/test/att5
parent5720be2a1ff34bf88992db24716f1e489a745e01 (diff)
parent4464fd97bf7e813b5badf1937e59f6fb5d2be646 (diff)
downloadblt-4f65b25b474bf534e40c3d3aa47d43e8457fcc9a.zip
blt-4f65b25b474bf534e40c3d3aa47d43e8457fcc9a.tar.gz
blt-4f65b25b474bf534e40c3d3aa47d43e8457fcc9a.tar.bz2
Merge commit '4464fd97bf7e813b5badf1937e59f6fb5d2be646' as 'libxml2'
Diffstat (limited to 'libxml2/test/att5')
-rw-r--r--libxml2/test/att573
1 files changed, 73 insertions, 0 deletions
diff --git a/libxml2/test/att5 b/libxml2/test/att5
new file mode 100644
index 0000000..2c05105
--- /dev/null
+++ b/libxml2/test/att5
@@ -0,0 +1,73 @@
+<!DOCTYPE doc [<!ATTLIST normId attr NMTOKENS #IMPLIED>]>
+<doc>
+ <!-- no normalization -->
+ <norm attr=' '/>
+ <norm attr='
+ foo bar '/>
+ <norm attr='
+
+foobar'/>
+ <norm attr=' foo bar
+'/>
+ <norm attr='foobar
+
+'/>
+ <norm attr=' &amp; '/>
+ <norm attr='
+ foo&amp;bar '/>
+ <norm attr='
+
+foobar&amp;'/>
+ <norm attr='&amp;foo bar
+'/>
+ <norm attr='foobar
+
+&amp;'/>
+ <norm attr=' &lt; '/>
+ <norm attr='
+ foo&lt;bar '/>
+ <norm attr='
+
+foobar&lt;'/>
+ <norm attr='&lt;foo bar
+'/>
+ <norm attr='foobar
+
+&lt;'/>
+ <norm attr=' &#x20;&#13;&#xa;&#9; '/>
+ <!-- normalization -->
+ <normId attr=' '/>
+ <normId attr='
+ foo bar '/>
+ <normId attr='
+
+foobar'/>
+ <normId attr=' foo bar
+'/>
+ <normId attr='foobar
+
+'/>
+ <normId attr=' &amp; '/>
+ <normId attr='
+ foo&amp;bar '/>
+ <normId attr='
+
+foobar&amp;'/>
+ <normId attr='&amp;foo bar
+'/>
+ <normId attr='foobar
+
+&amp;'/>
+ <normId attr=' &lt; '/>
+ <normId attr='
+ foo&lt;bar '/>
+ <normId attr='
+
+foobar&lt;'/>
+ <normId attr='&lt;foo bar
+'/>
+ <normId attr='foobar
+
+&lt;'/>
+ <normId attr=' &#13;&#xa;&#9; '/> <!-- PBM serializing back -->
+</doc>