diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-11-17 21:10:17 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-11-17 21:10:17 (GMT) |
commit | 8096d34300076a1aa9cb517de49fb920a051939f (patch) | |
tree | 5f2b1b7c41f89fedc31af973d6a747ca674cfd24 /libxml2/test/threads | |
parent | fc7f7edd0b8011cb71573b15462ef83068d9e54b (diff) | |
parent | 574585fa78070b0cc6b5ad22543e21a3502a122b (diff) | |
download | blt-8096d34300076a1aa9cb517de49fb920a051939f.zip blt-8096d34300076a1aa9cb517de49fb920a051939f.tar.gz blt-8096d34300076a1aa9cb517de49fb920a051939f.tar.bz2 |
Merge commit '574585fa78070b0cc6b5ad22543e21a3502a122b' as 'libxml2'
Diffstat (limited to 'libxml2/test/threads')
-rw-r--r-- | libxml2/test/threads/a.example.org.xml | 6 | ||||
-rw-r--r-- | libxml2/test/threads/a/a.dtd | 1 | ||||
-rw-r--r-- | libxml2/test/threads/abc.dtd | 7 | ||||
-rw-r--r-- | libxml2/test/threads/abc.xml | 7 | ||||
-rw-r--r-- | libxml2/test/threads/acb.dtd | 7 | ||||
-rw-r--r-- | libxml2/test/threads/acb.xml | 7 | ||||
-rw-r--r-- | libxml2/test/threads/b.example.org.xml | 6 | ||||
-rw-r--r-- | libxml2/test/threads/b/b.dtd | 2 | ||||
-rw-r--r-- | libxml2/test/threads/bac.dtd | 7 | ||||
-rw-r--r-- | libxml2/test/threads/bac.xml | 7 | ||||
-rw-r--r-- | libxml2/test/threads/bca.dtd | 7 | ||||
-rw-r--r-- | libxml2/test/threads/bca.xml | 7 | ||||
-rw-r--r-- | libxml2/test/threads/c.example.org.xml | 6 | ||||
-rw-r--r-- | libxml2/test/threads/c/c.dtd | 1 | ||||
-rw-r--r-- | libxml2/test/threads/cab.dtd | 7 | ||||
-rw-r--r-- | libxml2/test/threads/cab.xml | 7 | ||||
-rw-r--r-- | libxml2/test/threads/cba.dtd | 7 | ||||
-rw-r--r-- | libxml2/test/threads/cba.xml | 7 | ||||
-rw-r--r-- | libxml2/test/threads/complex.xml | 6 | ||||
-rw-r--r-- | libxml2/test/threads/example.org.xml | 9 | ||||
-rw-r--r-- | libxml2/test/threads/invalid.xml | 2 |
21 files changed, 123 insertions, 0 deletions
diff --git a/libxml2/test/threads/a.example.org.xml b/libxml2/test/threads/a.example.org.xml new file mode 100644 index 0000000..3de2c45 --- /dev/null +++ b/libxml2/test/threads/a.example.org.xml @@ -0,0 +1,6 @@ +<?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"> +<rewriteSystem systemIdStartString="http://example.org/a" rewritePrefix="a"/> +<nextCatalog catalog="c.example.org.xml"/> +</catalog> diff --git a/libxml2/test/threads/a/a.dtd b/libxml2/test/threads/a/a.dtd new file mode 100644 index 0000000..b298085 --- /dev/null +++ b/libxml2/test/threads/a/a.dtd @@ -0,0 +1 @@ +<!ELEMENT a (#PCDATA)> diff --git a/libxml2/test/threads/abc.dtd b/libxml2/test/threads/abc.dtd new file mode 100644 index 0000000..b7a08fe --- /dev/null +++ b/libxml2/test/threads/abc.dtd @@ -0,0 +1,7 @@ +<!ENTITY % a SYSTEM "http://example.org/a/a.dtd"> +%a; +<!ENTITY % b SYSTEM "http://example.org/b/b.dtd"> +%b; +<!ENTITY % c SYSTEM "http://example.org/c/c.dtd"> +%c; +<!ELEMENT abc (a, b, c)> diff --git a/libxml2/test/threads/abc.xml b/libxml2/test/threads/abc.xml new file mode 100644 index 0000000..ee98144 --- /dev/null +++ b/libxml2/test/threads/abc.xml @@ -0,0 +1,7 @@ +<!DOCTYPE abc SYSTEM "http://example.org/abc.dtd"> +<abc> + <a>Let's use predefined entites & < ></a> + <b>Let's use a DTD defined entity &bent;</b> + <c/> +</abc> + diff --git a/libxml2/test/threads/acb.dtd b/libxml2/test/threads/acb.dtd new file mode 100644 index 0000000..9fc77c5 --- /dev/null +++ b/libxml2/test/threads/acb.dtd @@ -0,0 +1,7 @@ +<!ENTITY % a SYSTEM "http://example.org/a/a.dtd"> +%a; +<!ENTITY % c SYSTEM "http://example.org/c/c.dtd"> +%c; +<!ENTITY % b SYSTEM "http://example.org/b/b.dtd"> +%b; +<!ELEMENT acb (a, c, b)> diff --git a/libxml2/test/threads/acb.xml b/libxml2/test/threads/acb.xml new file mode 100644 index 0000000..a14e362 --- /dev/null +++ b/libxml2/test/threads/acb.xml @@ -0,0 +1,7 @@ +<!DOCTYPE acb SYSTEM "http://example.org/acb.dtd"> +<acb> + <a>Let's use predefined entites & < ></a> + <c/> + <b>Let's use a DTD defined entity &bent;</b> +</acb> + diff --git a/libxml2/test/threads/b.example.org.xml b/libxml2/test/threads/b.example.org.xml new file mode 100644 index 0000000..2dfe5fc --- /dev/null +++ b/libxml2/test/threads/b.example.org.xml @@ -0,0 +1,6 @@ +<?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"> +<rewriteSystem systemIdStartString="http://example.org/b" rewritePrefix="b"/> +<nextCatalog catalog="c.example.org.xml"/> +</catalog> diff --git a/libxml2/test/threads/b/b.dtd b/libxml2/test/threads/b/b.dtd new file mode 100644 index 0000000..59de88e --- /dev/null +++ b/libxml2/test/threads/b/b.dtd @@ -0,0 +1,2 @@ +<!ELEMENT b (#PCDATA)> +<!ENTITY bent "the b entity"> diff --git a/libxml2/test/threads/bac.dtd b/libxml2/test/threads/bac.dtd new file mode 100644 index 0000000..d36a4e6 --- /dev/null +++ b/libxml2/test/threads/bac.dtd @@ -0,0 +1,7 @@ +<!ENTITY % b SYSTEM "http://example.org/b/b.dtd"> +%b; +<!ENTITY % a SYSTEM "http://example.org/a/a.dtd"> +%a; +<!ENTITY % c SYSTEM "http://example.org/c/c.dtd"> +%c; +<!ELEMENT bac (b, a, c)> diff --git a/libxml2/test/threads/bac.xml b/libxml2/test/threads/bac.xml new file mode 100644 index 0000000..63d6efc --- /dev/null +++ b/libxml2/test/threads/bac.xml @@ -0,0 +1,7 @@ +<!DOCTYPE bac SYSTEM "http://example.org/bac.dtd"> +<bac> + <b>Let's use a DTD defined entity &bent;</b> + <a>Let's use predefined entites & < ></a> + <c/> +</bac> + diff --git a/libxml2/test/threads/bca.dtd b/libxml2/test/threads/bca.dtd new file mode 100644 index 0000000..239192a --- /dev/null +++ b/libxml2/test/threads/bca.dtd @@ -0,0 +1,7 @@ +<!ENTITY % b SYSTEM "http://example.org/b/b.dtd"> +%b; +<!ENTITY % c SYSTEM "http://example.org/c/c.dtd"> +%c; +<!ENTITY % a SYSTEM "http://example.org/a/a.dtd"> +%a; +<!ELEMENT bca (b, c, a)> diff --git a/libxml2/test/threads/bca.xml b/libxml2/test/threads/bca.xml new file mode 100644 index 0000000..ce60d01 --- /dev/null +++ b/libxml2/test/threads/bca.xml @@ -0,0 +1,7 @@ +<!DOCTYPE bca SYSTEM "http://example.org/bca.dtd"> +<bca> + <b>Let's use a DTD defined entity &bent;</b> + <c/> + <a>Let's use predefined entites & < ></a> +</bca> + diff --git a/libxml2/test/threads/c.example.org.xml b/libxml2/test/threads/c.example.org.xml new file mode 100644 index 0000000..41348b1 --- /dev/null +++ b/libxml2/test/threads/c.example.org.xml @@ -0,0 +1,6 @@ +<?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"> +<rewriteSystem systemIdStartString="http://example.org/c" rewritePrefix="c"/> +<rewriteSystem systemIdStartString="http://example.org/" rewritePrefix="./"/> +</catalog> diff --git a/libxml2/test/threads/c/c.dtd b/libxml2/test/threads/c/c.dtd new file mode 100644 index 0000000..7248a5b --- /dev/null +++ b/libxml2/test/threads/c/c.dtd @@ -0,0 +1 @@ +<!ELEMENT c EMPTY> diff --git a/libxml2/test/threads/cab.dtd b/libxml2/test/threads/cab.dtd new file mode 100644 index 0000000..0a62e91 --- /dev/null +++ b/libxml2/test/threads/cab.dtd @@ -0,0 +1,7 @@ +<!ENTITY % c SYSTEM "http://example.org/c/c.dtd"> +%c; +<!ENTITY % a SYSTEM "http://example.org/a/a.dtd"> +%a; +<!ENTITY % b SYSTEM "http://example.org/b/b.dtd"> +%b; +<!ELEMENT cab (c, a, b)> diff --git a/libxml2/test/threads/cab.xml b/libxml2/test/threads/cab.xml new file mode 100644 index 0000000..a1631d0 --- /dev/null +++ b/libxml2/test/threads/cab.xml @@ -0,0 +1,7 @@ +<!DOCTYPE cab SYSTEM "http://example.org/cab.dtd"> +<cab> + <c/> + <a>Let's use predefined entites & < ></a> + <b>Let's use a DTD defined entity &bent;</b> +</cab> + diff --git a/libxml2/test/threads/cba.dtd b/libxml2/test/threads/cba.dtd new file mode 100644 index 0000000..71b96b4 --- /dev/null +++ b/libxml2/test/threads/cba.dtd @@ -0,0 +1,7 @@ +<!ENTITY % c SYSTEM "http://example.org/c/c.dtd"> +%c; +<!ENTITY % b SYSTEM "http://example.org/b/b.dtd"> +%b; +<!ENTITY % a SYSTEM "http://example.org/a/a.dtd"> +%a; +<!ELEMENT cba (c, b, a)> diff --git a/libxml2/test/threads/cba.xml b/libxml2/test/threads/cba.xml new file mode 100644 index 0000000..78708e4 --- /dev/null +++ b/libxml2/test/threads/cba.xml @@ -0,0 +1,7 @@ +<!DOCTYPE cba SYSTEM "http://example.org/cba.dtd"> +<cba> + <c/> + <b>Let's use a DTD defined entity &bent;</b> + <a>Let's use predefined entites & < ></a> +</cba> + diff --git a/libxml2/test/threads/complex.xml b/libxml2/test/threads/complex.xml new file mode 100644 index 0000000..0174e90 --- /dev/null +++ b/libxml2/test/threads/complex.xml @@ -0,0 +1,6 @@ +<?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"> +<delegateSystem systemIdStartString="http://example.org/" + catalog="example.org.xml"/> +</catalog> diff --git a/libxml2/test/threads/example.org.xml b/libxml2/test/threads/example.org.xml new file mode 100644 index 0000000..21c2602 --- /dev/null +++ b/libxml2/test/threads/example.org.xml @@ -0,0 +1,9 @@ +<?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"> +<delegateSystem systemIdStartString="http://example.org/a" + catalog="a.example.org.xml"/> +<delegateSystem systemIdStartString="http://example.org/b" + catalog="b.example.org.xml"/> +<nextCatalog catalog="c.example.org.xml"/> +</catalog> diff --git a/libxml2/test/threads/invalid.xml b/libxml2/test/threads/invalid.xml new file mode 100644 index 0000000..9123275 --- /dev/null +++ b/libxml2/test/threads/invalid.xml @@ -0,0 +1,2 @@ +<!-- Well formed but invalid --> +<doc/> |