You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by iv...@apache.org on 2019/05/12 15:05:01 UTC

svn commit: r1859152 - /apr/apr/trunk/test/testxml.c

Author: ivan
Date: Sun May 12 15:05:00 2019
New Revision: 1859152

URL: http://svn.apache.org/viewvc?rev=1859152&view=rev
Log:
Call apr_xml_quote_elem() before apr_xml_to_text() in round-trip XML tests.

Modified:
    apr/apr/trunk/test/testxml.c

Modified: apr/apr/trunk/test/testxml.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testxml.c?rev=1859152&r1=1859151&r2=1859152&view=diff
==============================================================================
--- apr/apr/trunk/test/testxml.c (original)
+++ apr/apr/trunk/test/testxml.c Sun May 12 15:05:00 2019
@@ -192,6 +192,8 @@ static void roundtrip(abts_case* tc, cha
     if (rv != APR_SUCCESS)
         return;
 
+    apr_xml_quote_elem(pool, doc->root);
+
     apr_xml_to_text(pool, doc->root, APR_XML_X2T_FULL_NS_LANG, doc->namespaces, NULL, &actual, NULL);
 
     abts_str_equal(tc, expected, actual, lineno);