mirror of https://github.com/apache/nifi.git
NIFI-239: Fix deprecated methods in SplitXml processor
This commit is contained in:
parent
3b16d010c0
commit
76ea1c64ff
|
@ -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("\"");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue