From: tt at tettnag dot com Operating system: Slackware 10 PHP version: 5.0.4 PHP Bug Type: SimpleXML related Bug description: Create soap xml attribute
Description: ------------ Why it doesn't print anything? It seems to work where i do a print_r( $obj ) but te access to $obj->Header and so on is impossible. Thank you Reproduce code: --------------- <?php $xml = <<<XML <?xml version="1.0"?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header> <mm7:TransactionID env:mustUnderstand="1" xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0">how-</mm7:TransactionID></env:Header> <env:Body> <mm7:SubmitRsp xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0"> <MM7Version>5.3.0</MM7Version> <Status> <StatusCode>2007</StatusCode> <StatusText>The MM7 request is incorrect</StatusText> </Status> <MessageID>101118737629315669</MessageID> </mm7:SubmitRsp> </env:Body> </env:Envelope> XML; $obj = simplexml_load_string( $xml ); print_r( $obj->Header->TransactionId ); ?> -- Edit bug report at http://bugs.php.net/?id=33335&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33335&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33335&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33335&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33335&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33335&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33335&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33335&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33335&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33335&r=support Expected behavior: http://bugs.php.net/fix.php?id=33335&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33335&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33335&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33335&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33335&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33335&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33335&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33335&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33335&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33335&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33335&r=mysqlcfg
