[XMLDocument] Fix for NS helpers assigning used NS alias.
commitb750edaac96d3d061ded82cbddf02f54a7f5dc8a
authorAndrew McMillan <andrew@morphoss.com>
Sun, 27 Dec 2009 09:30:57 +0000 (27 22:30 +1300)
committerAndrew McMillan <andrew@morphoss.com>
Sun, 27 Dec 2009 09:30:57 +0000 (27 22:30 +1300)
tree4b58e59786df9ecf87add4e5e599e5207b658b32
parent5f62bf7933275ca86e46fcf122b5c5c93b8fedf5
[XMLDocument] Fix for NS helpers assigning used NS alias.

The namespace alias assigned by helper methods like CalDAVElement()
and CalendarServerElement() attempt to assign a preferred alias
but if this has already been used for a different namespace the
collision would error.

This fix simply gives up on the preferred alias and lets one be
auto-assigned within the AddNameSpace() method.
inc/XMLDocument.php