Bug #61868 [NEW]: ext\dom\tests\DOMDocument_validate_on_parse_variation.phpt fails

From: Date: Fri, 27 Apr 2012 16:41:52 +0000
Subject: Bug #61868 [NEW]: ext\dom\tests\DOMDocument_validate_on_parse_variation.phpt fails
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-169996@lists.php.net to get a copy of this message
From:             ab
Operating system: windows
PHP version:      5.3.11
Package:          DOM XML related
Bug Type:         Bug
Bug description:ext\dom\tests\DOMDocument_validate_on_parse_variation.phpt fails

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 bug report at https://bugs.php.net/bug.php?id=61868&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=61868&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=61868&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=61868&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=61868&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61868&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=61868&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=61868&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=61868&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=61868&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=61868&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=61868&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=61868&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=61868&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=61868&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=61868&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=61868&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=61868&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=61868&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=61868&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=61868&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=61868&r=mysqlcfg



Thread (4 messages)

« previous php.bugs (#169996) next »