NIFI-239: Fix deprecated methods in SplitXml processor

This commit is contained in:
Mark Payne 2015-01-09 08:26:32 -05:00
parent 3b16d010c0
commit 76ea1c64ff
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ public class SplitXml extends AbstractProcessor {
int attCount = atts.getLength(); int attCount = atts.getLength();
for (int i = 0; i < attCount; i++) { for (int i = 0; i < attCount; i++) {
String attName = atts.getQName(i); String attName = atts.getQName(i);
String attValue = StringEscapeUtils.escapeXml(atts.getValue(i)); String attValue = StringEscapeUtils.escapeXml10(atts.getValue(i));
sb.append(" ").append(attName).append("=").append("\"").append(attValue).append("\""); sb.append(" ").append(attName).append("=").append("\"").append(attValue).append("\"");
} }