Edit report at https://bugs.php.net/bug.php?id=61868&edit=1
ID: 61868 Patch added by: a...@php.net Reported by: a...@php.net Summary: ext\dom\tests\DOMDocument_validate_on_parse_variation.phpt fails Status: Open Type: Bug Package: DOM XML related Operating System: windows PHP Version: 5.3.11 Block user comment: N Private report: N New Comment: The following patch has been added/updated: Patch Name: dom.diff Revision: 1335544986 URL: https://bugs.php.net/patch-display.php?bug=61868&patch=dom.diff&revision=1335544986 Previous Comments: ------------------------------------------------------------------------ [2012-04-27 16:41:52] a...@php.net Description: ------------ Test diff: 001+ Warning: chdir(): No such file or directory (errno 2) in C:\snaps\php-test-pack-5.4-nts-windows-vc9-x86-rff7e1ff\ext\dom\tests\DOMDocument_validate_on_parse_variation.php on line 5 002+ 003+ Warning: file_get_contents(note.xml): failed to open stream: No such file or directory in C:\snaps\php-test-pack-5.4-nts-windows-vc9-x86-rff7e1ff\ext\dom\tests\DOMDocument_validate_on_parse_variation.php on line 6 003- validateOnParse set to TRUE: 005+ 006+ Warning: DOMDocument::loadXML(): Empty string supplied as input in C:\snaps\php-test-pack-5.4-nts-windows-vc9-x86-rff7e1ff\ext\dom\tests\DOMDocument_validate_on_parse_variation.php on line 13 005- Warning: DOMDocument::loadXML(): No declaration for element NYPHP in Entity, line: %d in %s on line %d 009+ Fatal error: Call to a member function appendChild() on a non-object in C:\snaps\php-test-pack-5.4-nts-windows-vc9-x86-rff7e1ff\ext\dom\tests\DOMDocument_validate_on_parse_variation.php on line 18 006- 007- Warning: DOMDocument::loadXML(): Element from was declared #PCDATA but contains non text nodes in Entity, line: %d in %s on line %d 008- Error Report Above The test tries to chdir(__DIR__ . "/../examples") and some files in there, but that's not present in the test pack. Expected result: ---------------- test pass Actual result: -------------- test fail ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61868&edit=1