XML Data (schema and data) is not properly escaped.

2014-06-10
2014-07-18
  • Running an export/import or an initial load fails due to having a table with a column with an '&' in its name. The resulting XML is invalid and the receiving node fails.

    It looks to me like the change in http://www.symmetricds.org/issues/view.php?id=856 isn't enough. It uses StringEscapeUtils to escape the value, but not to escape the column name, resulting in the invalid XML.

    [Please, don't ask why I have a column w/ "&" in its name]

     
  • Chris Henson
    Chris Henson
    2014-06-10

    Go ahead and open a bug. We'll get it fixed.

     
  • Done, thanks.

     
  • Chris Henson
    Chris Henson
    2014-07-07

    I just checked in a fix for this. It will be in 3.6.2.

     
    • Thank you!