From d26e006d7f01db6fab3942ebbf073beaabf57e2d Mon Sep 17 00:00:00 2001 From: Anatoliy Belsky Date: Mon, 30 Apr 2012 17:23:49 +0200 Subject: [PATCH] Fix bug 61868 ext\dom\tests\DOMDocument_validate_on_parse_variation.phpt fails --- .../tests/DOMDocument_validate_on_parse_variation.phpt | 2 +- ext/dom/tests/note.dtd | 6 ++++++ ext/dom/tests/note.xml | 8 ++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 ext/dom/tests/note.dtd create mode 100644 ext/dom/tests/note.xml diff --git a/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt b/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt index 403e01aa76..d0cea29c7c 100644 --- a/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt +++ b/ext/dom/tests/DOMDocument_validate_on_parse_variation.phpt @@ -12,7 +12,7 @@ require_once('skipif.inc'); require_once('dom_test.inc'); -chdir(__DIR__ . "/../examples"); +chdir(__DIR__); $XMLStringGood = file_get_contents('note.xml'); $dom = new DOMDocument; diff --git a/ext/dom/tests/note.dtd b/ext/dom/tests/note.dtd new file mode 100644 index 0000000000..c2d558eee4 --- /dev/null +++ b/ext/dom/tests/note.dtd @@ -0,0 +1,6 @@ + + + + + + diff --git a/ext/dom/tests/note.xml b/ext/dom/tests/note.xml new file mode 100644 index 0000000000..49614a1b52 --- /dev/null +++ b/ext/dom/tests/note.xml @@ -0,0 +1,8 @@ + + + +PHP User Group +Shane +Reminder +Don't forget the meeting tonight! + -- 2.40.0