Re: [HAPI-devel] Parsing an empty segment throws an exception

2008-11-06 Thread nicovn
undefined- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywher

[HAPI-devel] Parsing an empty segment throws an exception

2008-11-06 Thread Frédéric Dubru
Hi, I got an exception while trying to parse a HL7 message with an empty PV1 segment (using HAPI 0.5.1). Although it is rather unusual, I don't read anything in the spec which forbids it. Example: MSH|^~\&|20080627102031.292+0100||ADT^A31|EJ55765480760|P|2.3|BE|8859/1|FR EVN||200806