summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Hommey <glandium@debian.org>2005-09-13 09:58:33 +0000
committerMike Hommey <glandium@debian.org>2005-09-13 09:58:33 +0000
commit17049f05f9ef09b3dc2a9c5d1de3f21de7c03193 (patch)
tree6137fecd6676ee0e15a04261fe54bbf2924c35fa /test
parenta464d9993e2acd5b8e1089b218ba74c6fcf215c5 (diff)
downloadlibxml2-17049f05f9ef09b3dc2a9c5d1de3f21de7c03193.tar.gz
Load /tmp/tmp.2Zlqcz/libxml2-2.6.22 intoupstream/2.6.22
packages/libxml2/branches/upstream/current.
Diffstat (limited to 'test')
-rw-r--r--test/schemas/import1_0.xsd5
-rw-r--r--test/xhtml12
2 files changed, 4 insertions, 3 deletions
diff --git a/test/schemas/import1_0.xsd b/test/schemas/import1_0.xsd
index 401d657..309139c 100644
--- a/test/schemas/import1_0.xsd
+++ b/test/schemas/import1_0.xsd
@@ -6,8 +6,7 @@
xmlns:bar="http://BAR"
elementFormDefault="qualified">
<xsd:import namespace="http://BAR" />
- <!-- This document is not a XML schema document. -->
- <xsd:import namespace="http://BAR" schemaLocation="import-bad-1_0.imp" />
+
<!-- This document does not exist. -->
<xsd:import namespace="http://BAR" schemaLocation="import1_0bc.imp" />
<!-- This document is ok. -->
@@ -22,6 +21,8 @@
<xsd:sequence>
<xsd:element name="bar"/>
<xsd:element ref="bar:bar.A"/>
+ <!-- The reference cannot be resolved since
+ "import1_0b.imp" was skipped -->
<xsd:element ref="bar:bar.B"/>
</xsd:sequence>
</xsd:complexType>
diff --git a/test/xhtml1 b/test/xhtml1
index 3b5107a..70e3a34 100644
--- a/test/xhtml1
+++ b/test/xhtml1
@@ -9,7 +9,7 @@
</head>
<!-- 4.8 -->
<script type="text/javascript">
- ... unescaped script content ...
+ ... unescaped script &lt; content ...
</script>
<body>
<p>Moved to <a href="http://example.org/">example.org</a>.</p>