# Archetype Editors **Category:** [Implementers (archive)](https://discourse.openehr.org/c/implementers-archive/158) **Created:** 2007-04-06 12:07 UTC **Views:** 28 **Replies:** 4 **URL:** https://discourse.openehr.org/t/archetype-editors/14649 --- ## Post #1 by @system I must say, good news, it is possible to work with the Archetype\-editors, although there still are some quirks\. I like the Swedisch ArcehtypeEditor because of the \(kind of\) debugging facility And I like the Workbench,b ecause it gives a lot of flexibility\. It is too bad, that both do not seem to have \(completely\) the same syntax\-ideas, although, they match for over 99%\. I found some problems: The Swedish editor does not want language     original\_language = <\[ISO\_639\-1::en\]> and     language = <\[ISO\_639\-1::en\]> in the header part, and it wants to add     primary\_language = <"en">     languages\_available = <"en", \.\.\.> in the ontology part, for the rest, they sem both to accept the same syntax Just wanted to say that, good editors are very important\. And good error ahndling is very nice, don't shoot the archetype because of a small error, try to be tolerant\. \(it asks a lot of programmers\.\) There is another problem with the workbench, it "takes" without my permission, the ADL\-file\-extension, and then fails to start if I doubleclick on an ADL\-file, with message: Cannot run: 'icons' directory missing Hit any key to exit application I must regret, the Ocean ArchetypoEditor fails to open an Archetype which opens without problem in the Workbench\. I also does not handle the error, but generates an Exception and remains after that in an undefined condition\. The exception text, and debug trace is \(maybe this helps to tackle the problem\) \(in between, I say, there is much improvement, which is very helpful for my work\) --- ## Post #2 by @Mattias_Forss1 Hi Bert, Thanks for your comments\. I think I must update the ADLSerializer component so it doesn't output the language attributes in the ontology section\. Could you provide an example ADL which contains a language section that fails to open? I guess the ADL parser expects another kind of syntax or something \(Rong?\)\. Are you using the latest version of the LiU Archetype Editor? That's all I have for the moment\. I will get back to these issues when I return from my vacation in France\. Regards, Mattias --- ## Post #3 by @system Mattias Forss schreef: > Hi Bert, > > Thanks for your comments\. I think I must update the ADLSerializer > component so it doesn't output the language attributes in the ontology > section\. Could you provide an example ADL which contains a language > section that fails to open? I guess the ADL parser expects another > kind of syntax or something \(Rong?\)\. Are you using the latest version > of the LiU Archetype Editor? > > That's all I have for the moment\. I will get back to these issues when > I return from my vacation in France\. >   Ah, la vie en rose\!\! I am using 0\.5\.1 \(I believe this is the latest version?\) I constructed an archetype by myself, or rebuild an old one, because I needed it for testing purposes\. I send it later today to your email, because I don't know if the mailinglist accepts attachements, which mostly is not\. Bert --- ## Post #4 by @erik.sundvall The latest version is 0\.5\.2\. see :http://www.imt.liu.se/mi/ehr/ A lot of parsing/serialising changes were done since 0\.5\.2\. Could you please check how many of the problems remain in 0\.5\.2 and report back? Best regards, Erik Sundvall http://www.imt.liu.se/~erisu/ --- ## Post #5 by @system Erik Sundvall schreef: >   >> I am using 0\.5\.1 \(I believe this is the latest version?\) >>     > The latest version is 0\.5\.2\. see :http://www.imt.liu.se/mi/ehr/ > > A lot of parsing/serialising changes were done since 0\.5\.2\. > Could you please check how many of the problems remain in 0\.5\.2 and report back? >   The problems seem to be gone\. But there is another thing, that happens occasionally, and I don't know what it means, it is the error message: "No valid structure '18' for type name 'SECTION'\!" Maybe there is an error in the ADL\-file, it ispossible, but the errormessage is hard to understand Bert --- **Canonical:** https://discourse.openehr.org/t/archetype-editors/14649 **Original content:** https://discourse.openehr.org/t/archetype-editors/14649