#47953 [NEW]: Error reading XML string
| From: | bbarnett at gt dot co dot cr | Date: | Sat, 11 Apr 2009 23:49:40 +0000 |
| Subject: | #47953 [NEW]: Error reading XML string | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-135747@lists.php.net to get a copy of this message | ||
From: bbarnett at gt dot co dot cr
Operating system: WXP
PHP version: 5.2.9
PHP Bug Type: *XML functions
Bug description: Error reading XML string
Description:
------------
I'm receiving and error when I try to read and XML string. The error is:
Premature end of data in tag FechaPago line 9 Line: 9
Reproduce code:
---------------
$xml2= simplexml_load_string(utf8_decode(trim($reg[0])));
Expected result:
----------------
An XML object
Actual result:
--------------
An Error.
--
Edit bug report at http://bugs.php.net/?id=47953&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47953&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47953&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47953&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47953&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47953&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47953&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47953&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47953&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47953&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47953&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47953&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47953&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47953&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47953&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47953&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47953&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47953&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47953&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47953&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47953&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47953&r=mysqlcfg