[HAPI-devel] HAPI - Parse error

2013-03-21 Thread Juan Carlos Rodríguez
Hi guys, I have an error when I parse a HL7 message. In the following line OBX|1|NM|BFatKT^Total Body Fat Mass Ratio Trunk/Total|1|0,33|""|C||| 20121106173222 I have the next error: ca.uhn.hl7v2.model.DataTypeException: ca.uhn.hl7v2.validation.ValidationException: Validation failed: Primit

Re: [HAPI-devel] HAPI - Parse error

2013-03-21 Thread Christian Ohr
OK, this is fixed and most likely available in the 2.1 release. regards Christian 2013/3/21 Juan Carlos Rodríguez : > Hi guys, > > I have an error when I parse a HL7 message. In the following line > > OBX|1|NM|BFatKT^Total Body Fat Mass Ratio > Trunk/Total|1|0,33|""|C|||20121106173222 > > I h

Re: [HAPI-devel] HAPI - Parse error

2013-03-21 Thread Christian Ohr
Arggh. Wrong thread. Sorry. Christian 2013/3/21 Christian Ohr : > OK, this is fixed and most likely available in the 2.1 release. > > regards > Christian > > 2013/3/21 Juan Carlos Rodríguez : >> Hi guys, >> >> I have an error when I parse a HL7 message. In the following line >> >> OBX|1|NM|BFatKT

Re: [HAPI-devel] HAPI - Parse error

2013-03-21 Thread Christian Ohr
The decimal number is not correct. It must be 0.33 rather than 0,33 to pass the validation of the NM data type. regards Christian 2013/3/21 Juan Carlos Rodríguez : > Hi guys, > > I have an error when I parse a HL7 message. In the following line > > OBX|1|NM|BFatKT^Total Body Fat Mass Ratio > Trun

[HAPI-devel] HAPI 2.1 beta parsing error NoClassDefFounderror

2013-03-21 Thread Uddipan Mukherjee
Hi guys, I am using HAPI 2.1 beta version to implement the sample parse message in android.But while running in the app in the emulator I am getting following error. 03-21 13:13:56.750: E/AndroidRuntime(840): FATAL EXCEPTION: main 03-21 13:13:56.750: E/AndroidRuntime(840): java.lang.NoClassDefF

Re: [HAPI-devel] HAPI 2.1 beta parsing error NoClassDefFounderror

2013-03-21 Thread James Agnew
Hi Uddipan, That class is bundled with most modern JREs, but I'm guessing on Android that may not be the case. You can also get that class by adding "xml-apis" to your classpath, as found here: http://search.maven.org/#artifactdetails%7Cxml-apis%7Cxml-apis%7C2.0.2%7Cjar It probably makes sense fo

Re: [HAPI-devel] HAPI 2.1 beta parsing error NoClassDefFounderror

2013-03-21 Thread Uddipan Mukherjee
Hi James, Its so nice to interact with you. I have tried to use xml-apis.jar to get the definition of org.w3c.dom.bootstrap.domimplementationregistry But during compile time I am getting the following error mentioning that android does not allow illegal inclusion of java core libraries.. Tr