From: magne at myrtveit dot com Operating system: Windows XP PHP version: 5.2.4 PHP Bug Type: SOAP related Bug description: Wrong XML when same object is repeated
Description: ------------ This bug is reported before as bug #41566. It now has a status of Closed, and according to the text it is fixed in PHP 5.2.4. I had problems with this bug in PHP 5.2.3 and just installed PHP 5.3.4. The problem seems to be there still. Best regards, Magne Expected result: ---------------- ... <SOAP-ENV:Body> <ns1:getRegulationsResponse> <getRegulationsReturn xsi:type="ns1:RegulationsArray"> <regulations xsi:type="ns1:Regulations"> <id xsi:type="xsd:integer">1</id> <name xsi:type="xsd:string">Arbeidstilsynet</name> <inspectionIntervals xsi:type="ns1:InspectionInterval" id="ref1"> <inspectionTypeId xsi:type="xsd:integer">2</inspectionTypeId> <intervals xsi:type="xsd:int">1</intervals> </inspectionIntervals> <inspectionIntervals xsi:type="ns1:InspectionInterval" id="ref2"> <inspectionTypeId xsi:type="xsd:integer">3</inspectionTypeId> <intervals xsi:type="xsd:int">1</intervals> </inspectionIntervals> </regulations> <regulations xsi:type="ns1:Regulations"> <id xsi:type="xsd:integer">5</id> <name xsi:type="xsd:string">Best. nr 522 - Maskindir.</name> <inspectionIntervals href="#ref1"/> <inspectionIntervals href="#ref2"/> </regulations> <regulations xsi:type="ns1:Regulations"> <id xsi:type="xsd:integer">6</id> <name xsi:type="xsd:string">Best.nr 523 - Fallsikring</name> <inspectionIntervals href="#ref1"/> <inspectionIntervals href="#ref2"/> </regulations> ... (etc) Actual result: -------------- ... <SOAP-ENV:Body> <ns1:getRegulationsResponse> <getRegulationsReturn xsi:type="ns1:RegulationsArray"> <regulations xsi:type="ns1:Regulations"> <id xsi:type="xsd:integer">1</id> <name xsi:type="xsd:string">Arbeidstilsynet</name> <inspectionIntervals xsi:type="ns1:InspectionInterval" id="ref1"> <inspectionTypeId xsi:type="xsd:integer">2</inspectionTypeId> <intervals xsi:type="xsd:int">1</intervals> </inspectionIntervals> <inspectionIntervals xsi:type="ns1:InspectionInterval" id="ref2"> <inspectionTypeId xsi:type="xsd:integer">3</inspectionTypeId> <intervals xsi:type="xsd:int">1</intervals> </inspectionIntervals> </regulations> <regulations xsi:type="ns1:Regulations"> <id xsi:type="xsd:integer">5</id> <name xsi:type="xsd:string">Best. nr 522 - Maskindir.</name> <inspectionIntervals href="#ref1"/> <inspectionIntervals href="#ref2"/> </regulations> <regulations xsi:type="ns1:Regulations"> <id xsi:type="xsd:integer">6</id> <name xsi:type="xsd:string">Best.nr 523 - Fallsikring</name> <inspectionIntervals href="ref1"/> <inspectionIntervals href="ref2"/> </regulations> ... (etc) -- Edit bug report at http://bugs.php.net/?id=43015&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43015&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43015&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43015&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43015&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43015&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43015&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43015&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43015&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43015&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43015&r=support Expected behavior: http://bugs.php.net/fix.php?id=43015&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43015&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43015&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43015&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43015&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43015&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43015&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43015&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43015&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43015&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43015&r=mysqlcfg