diff options
Diffstat (limited to 'libxml2/test/catalogs')
-rw-r--r-- | libxml2/test/catalogs/catal.script | 4 | ||||
-rw-r--r-- | libxml2/test/catalogs/catal.sgml | 2 | ||||
-rw-r--r-- | libxml2/test/catalogs/catal1.sgml | 1 | ||||
-rw-r--r-- | libxml2/test/catalogs/catal2.sgml | 4 | ||||
-rw-r--r-- | libxml2/test/catalogs/catal3.sgml | 8 | ||||
-rw-r--r-- | libxml2/test/catalogs/docbook.script | 5 | ||||
-rw-r--r-- | libxml2/test/catalogs/docbook.xml | 14 | ||||
-rw-r--r-- | libxml2/test/catalogs/registry.script | 4 | ||||
-rw-r--r-- | libxml2/test/catalogs/registry.xml | 23 | ||||
-rw-r--r-- | libxml2/test/catalogs/stylesheet.xml | 12 | ||||
-rw-r--r-- | libxml2/test/catalogs/whites.script | 4 | ||||
-rw-r--r-- | libxml2/test/catalogs/whites.sgml | 5 | ||||
-rw-r--r-- | libxml2/test/catalogs/whitex.script | 7 | ||||
-rw-r--r-- | libxml2/test/catalogs/whitex.xml | 15 |
14 files changed, 108 insertions, 0 deletions
diff --git a/libxml2/test/catalogs/catal.script b/libxml2/test/catalogs/catal.script new file mode 100644 index 0000000..1c644d1 --- /dev/null +++ b/libxml2/test/catalogs/catal.script @@ -0,0 +1,4 @@ +public "-//OASIS//DTD DocBook XML CALS Table Model V4.1//EN" +public "-//Davenport//DTD DocBook V3.0//EN" +public "-//OASIS//DTD XML Exchange Table Model 19990315//EN" +public "-//Davenport//ENTITIES DocBook Additional General Entities V3.0//EN" diff --git a/libxml2/test/catalogs/catal.sgml b/libxml2/test/catalogs/catal.sgml new file mode 100644 index 0000000..03fc2c5 --- /dev/null +++ b/libxml2/test/catalogs/catal.sgml @@ -0,0 +1,2 @@ +CATALOG catal1.sgml +CATALOG catal2.sgml diff --git a/libxml2/test/catalogs/catal1.sgml b/libxml2/test/catalogs/catal1.sgml new file mode 100644 index 0000000..b8319ca --- /dev/null +++ b/libxml2/test/catalogs/catal1.sgml @@ -0,0 +1 @@ +CATALOG catal3.sgml diff --git a/libxml2/test/catalogs/catal2.sgml b/libxml2/test/catalogs/catal2.sgml new file mode 100644 index 0000000..ff4cf8c --- /dev/null +++ b/libxml2/test/catalogs/catal2.sgml @@ -0,0 +1,4 @@ +PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd" +PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" "cals-tbl.dtd" +PUBLIC "-//Davenport//ELEMENTS DocBook Information Pool V3.0//EN" "dbpool.mod" +PUBLIC "-//Davenport//ELEMENTS DocBook Document Hierarchy V3.0//EN" "dbhier.mod"PUBLIC "-//Davenport//ENTITIES DocBook Additional General Entities V3.0//EN" "dbgenent.mod" diff --git a/libxml2/test/catalogs/catal3.sgml b/libxml2/test/catalogs/catal3.sgml new file mode 100644 index 0000000..bf54724 --- /dev/null +++ b/libxml2/test/catalogs/catal3.sgml @@ -0,0 +1,8 @@ +PUBLIC "-//OASIS//DTD DocBook XML CALS Table Model V4.1//EN" "calstblx.dtd" +PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "soextblx.dtd" +PUBLIC "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1//EN" "dbpool.mod" +PUBLIC "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1//EN" "dbhier.mod"PUBLIC "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1//EN" "dbgenent.mod" +PUBLIC "-//OASIS//ENTITIES DocBook XML Notations V4.1//EN" "dbnotn.mod" +PUBLIC "-//OASIS//ENTITIES DocBook XML Character Entities V4.1//EN" "dbcent.mod" + + diff --git a/libxml2/test/catalogs/docbook.script b/libxml2/test/catalogs/docbook.script new file mode 100644 index 0000000..faa06b0 --- /dev/null +++ b/libxml2/test/catalogs/docbook.script @@ -0,0 +1,5 @@ +resolve toto http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod +public "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" +system urn:publicid:-:OASIS:DTD+DocBook+XML+V4.1.2:EN +public urn:publicid:-:OASIS:DTD+DocBook+XML+V4.1.2:EN +resolve toto toto diff --git a/libxml2/test/catalogs/docbook.xml b/libxml2/test/catalogs/docbook.xml new file mode 100644 index 0000000..c8dd2bf --- /dev/null +++ b/libxml2/test/catalogs/docbook.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> +<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> +<public publicId="-//OASIS//DTD DocBook XML V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"/> +<public publicId="-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbnotnx.mod"/> +<public publicId="-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod"/> +<public publicId="-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod"/> +<public publicId="-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod"/> +<public publicId="-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbgenent.mod"/> +<public publicId="-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd"/> +<public publicId="-//OASIS//DTD DocBook MathML Module V1.0//EN" uri="http://www.oasis-open.org/docbook/xml/mathml/1.0/dbmathml.dtd"/> +<nextCatalog catalog="stylesheet.xml"/> +<rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/" rewritePrefix="/usr/share/xml/docbook/"/> +</catalog> diff --git a/libxml2/test/catalogs/registry.script b/libxml2/test/catalogs/registry.script new file mode 100644 index 0000000..9bb944c --- /dev/null +++ b/libxml2/test/catalogs/registry.script @@ -0,0 +1,4 @@ +resolve toto http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod +public "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" +system http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod +system urn:publicid:-:OASIS:DTD+DocBook+XML+V4.1.2:EN diff --git a/libxml2/test/catalogs/registry.xml b/libxml2/test/catalogs/registry.xml new file mode 100644 index 0000000..5caccfc --- /dev/null +++ b/libxml2/test/catalogs/registry.xml @@ -0,0 +1,23 @@ +<?xml version="1.0"?> +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> +<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> + +<delegatePublic publicIdStartString="-//OASIS//" + catalog="oasis.xml"/> +<delegateSystem systemIdStartString="http://www.oasis-open.org/" + catalog="oasis.xml"/> +<delegateURI uriStartString="http://www.oasis-open.org/" + catalog="oasis.xml"/> + +<delegatePublic publicIdStartString="-//OASIS//DTD XML Catalog //" + catalog="docbook.xml"/> +<delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook XML" + catalog="docbook.xml"/> +<delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML" + catalog="docbook.xml"/> +<delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/" + catalog="docbook.xml"/> +<delegateURI uriStartString="http://www.oasis-open.org/docbook/" + catalog="docbook.xml"/> + +</catalog> diff --git a/libxml2/test/catalogs/stylesheet.xml b/libxml2/test/catalogs/stylesheet.xml new file mode 100644 index 0000000..4b611e1 --- /dev/null +++ b/libxml2/test/catalogs/stylesheet.xml @@ -0,0 +1,12 @@ +<!DOCTYPE catalog + PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" + "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> +<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" + prefer="public"> + +<!-- Circumvent relative URI in spec.xsl that doesn't work online --> +<uri name="http://www.oasis-open.org/committes/tr.xsl" + uri="http://www.oasis-open.org/committes/entity/stylesheets/base/tr.xsl"/> +<public publicId="toto" uri="file:///usr/share/xml/toto/toto.dtd"/> +</catalog> + diff --git a/libxml2/test/catalogs/whites.script b/libxml2/test/catalogs/whites.script new file mode 100644 index 0000000..8f4dd13 --- /dev/null +++ b/libxml2/test/catalogs/whites.script @@ -0,0 +1,4 @@ +public "-//OASIS//DTD DocBook XML CALS Table Model V4.1//EN " +public "-//Davenport//DTD DocBook V3.0//EN" +public " -//OASIS//DTD XML Exchange Table Model 19990315//EN" +public "-//Davenport//ENTITIES DocBook Additional General Entities V3.0//EN" diff --git a/libxml2/test/catalogs/whites.sgml b/libxml2/test/catalogs/whites.sgml new file mode 100644 index 0000000..50269b7 --- /dev/null +++ b/libxml2/test/catalogs/whites.sgml @@ -0,0 +1,5 @@ +PUBLIC " -//OASIS//DTD DocBook XML CALS Table Model V4.1//EN" "calstblx.dtd" +PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN " "soextblx.dtd" +PUBLIC "-//Davenport//DTD DocBook + V3.0//EN" "docbook.dtd" +PUBLIC "-//Davenport//ENTITIES DocBook Additional General Entities V3.0//EN" "dbgenent.mod" diff --git a/libxml2/test/catalogs/whitex.script b/libxml2/test/catalogs/whitex.script new file mode 100644 index 0000000..a49ca23 --- /dev/null +++ b/libxml2/test/catalogs/whitex.script @@ -0,0 +1,7 @@ +resolve "toto " http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod +public "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" +public " -//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" +public "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN " +system urn:publicid:+-:OASIS:DTD+++DocBook+XML+V4.1.2:EN+ +public urn:publicid:+-:OASIS:DTD+DocBook+XML+++V4.1.2:EN+ +resolve " toto " toto diff --git a/libxml2/test/catalogs/whitex.xml b/libxml2/test/catalogs/whitex.xml new file mode 100644 index 0000000..d742887 --- /dev/null +++ b/libxml2/test/catalogs/whitex.xml @@ -0,0 +1,15 @@ +<?xml version="1.0"?> +<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> +<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> +<public publicId="-//OASIS//DTD DocBook XML V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"/> +<public publicId="-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbnotnx.mod"/> +<public publicId=" -//OASIS//ENTITIES DocBook + XML Character Entities V4.1.2//EN " uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod"/> +<public publicId="-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod"/> +<public publicId="-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod"/> +<public publicId="-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/dbgenent.mod"/> +<public publicId="-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" uri="http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd"/> +<public publicId="-//OASIS//DTD DocBook MathML Module V1.0//EN" uri="http://www.oasis-open.org/docbook/xml/mathml/1.0/dbmathml.dtd"/> +<nextCatalog catalog="stylesheet.xml"/> +<rewriteSystem systemIdStartString="http://www.oasis-open.org/docbook/" rewritePrefix="/usr/share/xml/docbook/"/> +</catalog> |