Edit report at https://bugs.php.net/bug.php?id=61868&edit=1

 ID:                 61868
 Updated by:         fel...@php.net
 Reported by:        a...@php.net
 Summary:            ext\dom\tests\DOMDocument_validate_on_parse_variation.phpt
                     fails
-Status:             Open
+Status:             Assigned
 Type:               Bug
 Package:            DOM XML related
 Operating System:   windows
 PHP Version:        5.3.11
-Assigned To:        
+Assigned To:        ab
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2012-04-27 16:43:06] a...@php.net

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

------------------------------------------------------------------------
[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

Reply via email to