summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml/bad-17.rdf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rdfxml/bad-17.rdf')
-rw-r--r--tests/rdfxml/bad-17.rdf16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/rdfxml/bad-17.rdf b/tests/rdfxml/bad-17.rdf
new file mode 100644
index 0000000..8f43742
--- /dev/null
+++ b/tests/rdfxml/bad-17.rdf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:ex="http://example.org/ns/">
+
+ <!-- property element parseType="Literal" with illegal NFC -->
+
+ <!-- The ü below is two characters a u followed by
+ #x308 (encoded as two UTF-8 octets #xCC #x88).
+ It should be displayed identically to ü (character #xFC encoded
+ as two UTF-8 octets #xC3 #xBC). -->
+
+ <rdf:Description rdf:about="http://example.org/node0">
+ <ex:blah rdf:parseType="Literal">ü</ex:blah>
+ </rdf:Description>
+
+</rdf:RDF>