Re: [HAPI-devel] XML to ER7 conversion using pipeParser.encode

2009-05-06 Thread Qaiser, Mohammed
; } From: Cameron Freiner [mailto:[email protected]] Sent: Wednesday, May 06, 2009 9:41 AM To: Qaiser, Mohammed Cc: Lynch, David Subject: Re: [HAPI-devel] XML to ER7 conversion using pipeParser.encode That should have done it.. Can you send me a bit more info, sample of xmlString, etc.. ? Perhaps

Re: [HAPI-devel] XML to ER7 conversion using pipeParser.encode

2009-05-06 Thread Qaiser, Mohammed
[mailto:[email protected]] Sent: Wednesday, May 06, 2009 9:19 AM To: Qaiser, Mohammed Cc: [email protected] Subject: Re: [HAPI-devel] XML to ER7 conversion using pipeParser.encode In your NoValidation Validation Context there are the following lines.. ca.uhn.hl7v2

Re: [HAPI-devel] XML to ER7 conversion using pipeParser.encode

2009-05-06 Thread Cameron Freiner
In your NoValidation Validation Context there are the following lines.. ca.uhn.hl7v2.validation.Rule trim = new TrimLeadingWhitespace(); getPrimitiveRuleBindings().add(new RuleBinding("*", "FT", trim)); getPrimitiveRuleBindings().add(new RuleBinding("*", "ST", trim));

[HAPI-devel] XML to ER7 conversion using pipeParser.encode

2009-05-06 Thread mq_cgi
Hi There, I am trying to convert HL7 - XML message to HL7 - ER7 format. However after conversion all whitespace are getting trimed off, which is part of the original XML message. In source code below, PipeParser.encode(ER7Msg) is the one who is triming all whitespaces. Is there a way I can still