summaryrefslogtreecommitdiff
path: root/test/syntax/code/xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/syntax/code/xml')
-rw-r--r--test/syntax/code/xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/syntax/code/xml b/test/syntax/code/xml
new file mode 100644
index 00000000..7f002c4b
--- /dev/null
+++ b/test/syntax/code/xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<response value="ok" xml:lang="en">
+ <text>Ok</text>
+ <comment html_allowed="true"/>
+ <ns1:description><![CDATA[
+ CDATA is <not> magical.
+ ]]></ns1:description>
+ <a></a> <a/>
+</response>
+
+
+<!DOCTYPE html>
+<title>Title</title>
+
+<style>body {width: 500px;}</style>
+
+<script type="application/javascript">
+ function $init() {return true;}
+</script>
+
+<body>
+ <p checked class="title" id='title'>Title</p>
+ <!-- here goes the rest of the page -->
+</body>