Re: [HAPI-devel] Lead spacing trimming

2017-05-25 Thread Mike Mills
James, I work with David and have been working with him to get to the bottom of the issue so that we can choose a suitable solution for us. We noticed that some validation is turned on when you use the pipeParser but not when you use the parse() on a Message. eg: String msh_string = "MSH

Re: [HAPI-devel] Lead spacing trimming

2017-05-25 Thread James Agnew
Hi David, I'm not sure I could provide an answer as to why, given that this behaviour has existed in the library for roughly 15 years now. I would be nervous about changing it given how longstanding it has existed, but I can tell you that you can disable it by setting validation to NoValidation (