Annotation of pkgsrc/textproc/tinyxml/patches/patch-xmltest.cpp, revision 1.1

1.1     ! wiz         1: $NetBSD$
        !             2: 
        !             3: Fix entity encoding. From
        !             4: http://sourceforge.net/p/tinyxml/patches/51/
        !             5: 
        !             6: --- xmltest.cpp.orig   2011-05-15 02:24:57.000000000 +0000
        !             7: +++ xmltest.cpp
        !             8: @@ -1366,6 +1366,16 @@ int main()
        !             9:                }*/
        !            10:        }
        !            11:  
        !            12: +      #ifdef TIXML_USE_STL
        !            13: +      {
        !            14: +              TiXmlDocument xml;
        !            15: +              xml.Parse("<foo>foo&amp;#xa+bar</foo>");
        !            16: +              std::string str;
        !            17: +              str << xml;
        !            18: +              XmlTest( "Entity escaping", "<foo>foo&amp;#xa+bar</foo>", str.c_str() );
        !            19: +      }
        !            20: +      #endif
        !            21: +
        !            22:        /*  1417717 experiment
        !            23:        {
        !            24:                TiXmlDocument xml;

CVSweb <webmaster@jp.NetBSD.org>