summaryrefslogtreecommitdiff
path: root/test/testcases/tests/level3/core/files/barfoo_utf8.svg
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-30 11:06:01 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-30 11:06:01 +0000
commit8f547c7bd349e0dc905e0dc5f32edbf1e01061ce (patch)
tree0ba575c11b1875b638324194e16ebda4586baec8 /test/testcases/tests/level3/core/files/barfoo_utf8.svg
parente3eae8836e177220d556868e4fa7741c00b2d729 (diff)
downloadlibdom-8f547c7bd349e0dc905e0dc5f32edbf1e01061ce.tar.gz
libdom-8f547c7bd349e0dc905e0dc5f32edbf1e01061ce.tar.bz2
Merge DOMTS tests -- they're causing havoc with review diffs.
svn path=/trunk/dom/; revision=8910
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