[phpXML] Bug when deleting a large node
Brought to you by:
bs_php,
nigelswinson
From: <ga...@wh...> - 2001-10-08 16:07:05
|
Hi, I've just come across a bug. In my XML I have something like the following: <addressbook> <entry> <id>3838949</id> <name> <firstname>A</firstname> <middlenames>Jon</middlenames> <lastname>Somebody</lastname> </name> </entry> <entry> <id>23523455</id> <name> <firstname>B</firstname> <middlenames>Paul</middlenames> <lastname>Somebody</lastname> </name> </entry> <entry> <id>23523455</id> <name> <firstname>Jon</firstname> <middlenames>Smith</middlenames> <lastname>Somebody</lastname> </name> </entry> </addressbook> Each <entry> has a number of other elements (about 20 in total). Anyway, when I remove one and add a new one the resulting output from phpXML is wrong. The removed <entry> is indeed gone, the added <entry> isn't there and there's a </> element (which is incorrect). The only way I found round this is to remove the <entry>, output the XML, then create a new XML document with it and then add the new <element>. This seems to be a fairly major bug in phpXML - any ideas on how to resolve this? Regards, Gareth Lancaster -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ |