GitHub user jfrazee opened a pull request: https://github.com/apache/nifi/pull/495
NIFI-1968 ExtractHL7Attributes is squashing empty components This updates ExtractHL7Attributes and corresponding tests so it works with empty components (^^) in sub-segments. It uses the built in encoding functionality from the HAPI HL7 API so the NiFi getValue() is removed. It's worth noting that HL7's encoding of some fields (MSH.1 and MSH.2) aren't the plain text so these are unescaped in this fix. Escaping them would be a breaking change that arguably doesn't relate to any bug. Not sure what the right thing there is. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jfrazee/nifi NIFI-1968 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/nifi/pull/495.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #495 ---- commit 91e7584d0cb97e876d7078e50bd56d5289c12331 Author: Joey Frazee <joey.fra...@icloud.com> Date: 2016-06-04T19:51:18Z Fixes NIFI-1968 so ExtractHL7Attributes will keep empty components ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---