[ https://issues.apache.org/jira/browse/NIFI-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16003065#comment-16003065 ]
Matt Gilman edited comment on NIFI-3853 at 5/9/17 5:07 PM: ----------------------------------------------------------- Some characters actually need to be filtered out as even after escaping they cannot be represented in XML [1]. [1] https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringEscapeUtils.html#escapeXml10-java.lang.String- was (Author: mcgilman): Some characters actually need to be filtered out as even after escaping they cannot be represented in XML. > Escape configurations prior to writing flow.xml > ----------------------------------------------- > > Key: NIFI-3853 > URL: https://issues.apache.org/jira/browse/NIFI-3853 > Project: Apache NiFi > Issue Type: Bug > Components: Core Framework > Reporter: Matt Gilman > Assignee: Matt Gilman > Priority: Critical > > If invalid characters are entered through the UI, they can corrupt the > flow.xml.gz making it unparsable on future restarts. Once in this state, the > flow.xml.gz needs to be hand-edited to remove the invalid characters. The > following characters may cause issues: > {code} > #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF] > {code} > {code} > [#x7F-#x84] | [#x86-#x9F] > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)