From 0d59b3dda6730ad7a91e41c1f358e0cccebe461c Mon Sep 17 00:00:00 2001 From: Christian Stocker Date: Mon, 27 Oct 2003 15:32:44 +0000 Subject: [PATCH] xinclude test --- ext/dom/tests/book.xml | 1 + ext/dom/tests/dom_xinclude.phpt | 22 ++++++++++++++++++++++ ext/dom/tests/xinclude.xml | 4 ++++ 3 files changed, 27 insertions(+) create mode 100644 ext/dom/tests/dom_xinclude.phpt create mode 100644 ext/dom/tests/xinclude.xml 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 @@ + + + + -- 2.40.0