summaryrefslogtreecommitdiff
path: root/test/testcases/tests/level3/core/files/barfoo_utf8.svg
diff options
context:
space:
mode:
Diffstat (limited to 'test/testcases/tests/level3/core/files/barfoo_utf8.svg')
-rw-r--r--test/testcases/tests/level3/core/files/barfoo_utf8.svg30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/testcases/tests/level3/core/files/barfoo_utf8.svg b/test/testcases/tests/level3/core/files/barfoo_utf8.svg
new file mode 100644
index 0000000..8ebb45d
--- /dev/null
+++ b/test/testcases/tests/level3/core/files/barfoo_utf8.svg
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="uTf-8"?>
+<!DOCTYPE svg [
+<!ENTITY ent1 'foo'>
+<!ENTITY ent2 'foo<br/>'>
+<!ELEMENT svg (rect,script,body)>
+<!ATTLIST svg xmlns CDATA #IMPLIED>
+<!ELEMENT rect EMPTY>
+<!ATTLIST rect
+ x CDATA #REQUIRED
+ y CDATA #REQUIRED
+ width CDATA #REQUIRED
+ height CDATA #REQUIRED
+ fill CDATA #REQUIRED>
+<!ELEMENT p (#PCDATA|br)*>
+<!ELEMENT body (p)>
+<!ATTLIST body xmlns CDATA #IMPLIED>
+<!ELEMENT br EMPTY>
+<!ELEMENT script (#PCDATA)>
+<!ATTLIST script type CDATA #IMPLIED>
+<!ENTITY svgunit SYSTEM "svgunit.js">
+<!ENTITY svgtest SYSTEM "svgtest.js">
+<!ENTITY ent5 PUBLIC "entityURI" "entityFile" NDATA notation1>
+<!NOTATION notation1 PUBLIC "notation1File">
+]>
+<svg xmlns="http://www.w3.org/2000/svg">
+<rect x="0" y="0" width="100" height="100" fill="blue"/><script type="text/ecmascript">&svgtest;&svgunit;</script>
+<body xmlns='http://www.w3.org/1999/xhtml'>
+<p>bar</p>
+</body>
+</svg> \ No newline at end of file