Edit report at https://bugs.php.net/bug.php?id=61597&edit=1
ID: 61597
Patch added by: cmb@php.net
Reported by: drgroove at gmail dot com
Summary: SimpleXMLElement doesn't include both @attributes
and textContent in properties
Status: Verified
Type: Bug
Package: SimpleXML related
Operating System: Mac OS X
PHP Version: 5.3.10
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
The following pull request has been associated:
Patch Name: Fix #61597: SXE properties may lack attributes and content
On GitHub: https://github.com/php/php-src/pull/5246
Patch: https://github.com/php/php-src/pull/5246.patch
Previous Comments:
------------------------------------------------------------------------
[2020-03-07 10:24:40] cmb@php.net
Related To: Bug #65592
------------------------------------------------------------------------
[2015-09-09 01:32:44] cmb@php.net
> This has been reported and closed as a duplicate before, but I> think that was mistaken, as we don't have an open bug for this> at present that I can find.
There is bug #44973, which has been closed as not a bug.
------------------------------------------------------------------------
[2015-04-28 17:06:50] tlesher at mtadistributors dot com
Just by way of a note, this problem is still occurring in PHP 5.5.24.
------------------------------------------------------------------------
[2012-11-26 22:37:04] dbai at drivenbi dot com
Is there any update on this one? A 3rd party PHP library I'm using has a defect
which, I think, is caused by this problem because the phenomenon is that attribute
in the XML node is not loaded, and that XML node happens to have text content.
------------------------------------------------------------------------
[2012-07-04 16:31:48] hugh at infomenta dot com
I am having exactly the same problem and it is not feasible to add an extra tag to all of my
"text" entries.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=61597
--
Edit this bug report at https://bugs.php.net/bug.php?id=61597&edit=1