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.(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