Re: Delete in XML broke

2016-10-13 Thread Harbs
I just modified the code to accept strings as well. If we come across a case where we need XML/XMLList, we can deal with it then… I’m not sure why I only ran into this now, but with my changes in XMLLust, it’s now working fine. On Oct 13, 2016, at 6:14 PM, Alex Harui wrote: > The unit tests h

Re: Delete in XML broke

2016-10-13 Thread Alex Harui
The unit tests have been passing in strings. Should the code be passing in XML/XMLList? -Alex On 10/13/16, 3:02 AM, "Harbs" wrote: >The following: >delete imageXML.Link; > >Compiles to: >imageXML.removeChild('Link’); > >XMLLIst.removeChild is expecting either XML or an XMLList. It fails to do

Delete in XML broke

2016-10-13 Thread Harbs
The following: delete imageXML.Link; Compiles to: imageXML.removeChild('Link’); XMLLIst.removeChild is expecting either XML or an XMLList. It fails to do anything when it’s a string. I think it was working before, but I’m not sure how/why.