Should CopyTo be copying userdata?

  • James

    James - 2005-09-16

    Just wondering if its a bug?

    • Lee Thomason

      Lee Thomason - 2005-09-20

      ...good question. :) Any opinion on this?


  • Ted Hall

    Ted Hall - 2013-06-28

    Yes I have an opinion; Yes it should copy userData. IMO.

    As of version 2.5.3, TiXmlElement::CopyTo( TiXmlElement* target ) is inconsistent. It copies the TiXmlElement::userData, through its base class TiXmlNode::CopyTo( target ). However, it does not copy the TiXmlAttribute::userData.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks