From: Christian Stocker Date: Mon, 27 Oct 2003 15:32:44 +0000 (+0000) Subject: xinclude test X-Git-Tag: RELEASE_2_0_0RC1~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d59b3dda6730ad7a91e41c1f358e0cccebe461c;p=php xinclude test --- diff --git a/ext/dom/tests/book.xml b/ext/dom/tests/book.xml index ea40508e01..95de0da866 100644 --- a/ext/dom/tests/book.xml +++ b/ext/dom/tests/book.xml @@ -1,3 +1,4 @@ + The Grapes of Wrath diff --git a/ext/dom/tests/dom_xinclude.phpt b/ext/dom/tests/dom_xinclude.phpt new file mode 100644 index 0000000000..a5cd6ba684 --- /dev/null +++ b/ext/dom/tests/dom_xinclude.phpt @@ -0,0 +1,22 @@ +--TEST-- +Test: Xinclude and Streams +--SKIPIF-- + +--FILE-- +load(dirname(__FILE__)."/xinclude.xml"); +$dom->xinclude(); +print $dom->saveXML(); + +--EXPECT-- + + + + The Grapes of Wrath + John Steinbeck + + The Pearl + John Steinbeck + + diff --git a/ext/dom/tests/xinclude.xml b/ext/dom/tests/xinclude.xml new file mode 100644 index 0000000000..27efa91aee --- /dev/null +++ b/ext/dom/tests/xinclude.xml @@ -0,0 +1,4 @@ + + + +