Skip to Navigation | Skip to Content

Ref_impl_Java mailing list archives

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

ADLParser cannot parse Archetype with Khmer Language translation


Dear all,

When I try to parse Archetype with Khmer language translation, the parser throwed an Exception.
I attach the Stack Trace below:

Exception in thread "main" java.lang.IllegalArgumentException: unknown original language ISO_639-1, km
        at org.openehr.rm.common.resource.TranslationDetails.<init>(TranslationDetails.java:53)
        at se.acode.openehr.parser.ADLParser.translations(ADLParser.java:384)
        at se.acode.openehr.parser.ADLParser.archetype(ADLParser.java:258)
        at se.acode.openehr.parser.ADLParser.parse(ADLParser.java:101)

I think the bug is caused by the openehr_terminology.xml does not contain an entry of Khmer language.
I attach the translated archetype in case you need it.

Regards,
Kruy Vanna
Graduate School of Global Information and Telecommunication Studies,
Waseda University
-  -  -  -  -  -  -  -  -  -  -  -  -
http://kvanna.multiply.com
http://vannit.blogspot.com

Attachment: openEHR-DEMOGRAPHIC-ADDRESS.address_iso.v1.adl
Description: Binary data

_______________________________________________
Ref_impl_java mailing list
Ref_impl_java@openehr.org
http://lists.chime.ucl.ac.uk/mailman/listinfo/ref_impl_java