From: laruence
Operating system:
PHP version: 5.5.1
Package: Testing related
Bug Type: Bug
Bug description:Two tests start to fail in ext/dom
Description:
------------
Test DOMDocument::loadXML() detects not-well formed XML
[ext/dom/tests/DOMDocument_loadXML_error4.phpt]
Test DOMDocument::load() detects not-well formed XML
[ext/dom/tests/DOMDocument_load_error4.phpt]
$ cat ext/dom/tests/DOMDocument_loadXML_error4.diff
001+ Notice: DOMDocument::loadXML(): Unsupported version '3.1' in Entity,
line: 1
in /home/huixinchen/opensource/php-
5.5/ext/dom/tests/DOMDocument_loadXML_error4.php on line 8
001- Warning: DOMDocument::load%r(XML){0,1}%r(): Unsupported version '3.1'
%s
002+
003+ Warning: assert(): Assertion "$result === $expectedResult" failed in
/home/huixinchen/opensource/php-5.5/ext/dom/tests/DOMDocument_loadXML_error4.php
on line 11
Test script:
---------------
none
Expected result:
----------------
none
Actual result:
--------------
none
--
Edit bug report at https://bugs.php.net/bug.php?id=65447&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=65447&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=65447&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=65447&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65447&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65447&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65447&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65447&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65447&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65447&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65447&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=65447&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=65447&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65447&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65447&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65447&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65447&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65447&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65447&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65447&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65447&r=mysqlcfg