summaryrefslogtreecommitdiff
path: root/tests/IT-keep-entities-1.xml
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2013-09-21 16:24:35 -0400
committerShaun McCance <shaunm@gnome.org>2013-09-21 16:24:35 -0400
commit2928d6f02a0f30415bd993490d1920fd990ce130 (patch)
tree8d235d6d36edbd1ab467200099588fe2f9af7630 /tests/IT-keep-entities-1.xml
parent309b2cee105430c5ed387d7862e9405d41e76088 (diff)
downloaditstool-2928d6f02a0f30415bd993490d1920fd990ce130.tar.gz
Added an option to retain entity references
You still have to load the DTD if the entities are defined in the external subset, because libxml2 checks references even if it doesn't dereference them. It would be nice if this weren't necessary.
Diffstat (limited to 'tests/IT-keep-entities-1.xml')
-rw-r--r--tests/IT-keep-entities-1.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/IT-keep-entities-1.xml b/tests/IT-keep-entities-1.xml
new file mode 100644
index 0000000..bb87ea8
--- /dev/null
+++ b/tests/IT-keep-entities-1.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
+<book>
+ <bookinfo id="startrek">
+ <title>The history of Leonard &ldquo;Bones&rdquo; McCoy</title>
+ </bookinfo>
+</book>