# Parser Versions **Category:** [Technical (archive)](https://discourse.openehr.org/c/technical-archive/156) **Created:** 2009-01-23 09:33 UTC **Views:** 1 **Replies:** 3 **URL:** https://discourse.openehr.org/t/parser-versions/13167 --- ## Post #1 by @Oxford_Partnership I am using the ADL parser library from within a C\# application\. I want the application to be able to report on which version of the parser is being used\. Using the following code : openehr\.version\.OPENEHR\_VERSION adl\_parser\_version = openehr\.version\.Create\.OPENEHR\_VERSION\.default\_create\(\); EiffelSoftware\.Library\.Base\.kernel\.STRING\_8 parserVersion = adl\_parser\_version\.version\(\); This seems work and I get a version back, the version reported is : $LastChangedRevision: 203 $ $LastChangedDate: 2007\-04\-10 05:17:40 \+1000 \(Tue, 10 Apr 2007\) $ As this is the parser from the latest beta release of the editor, do those values make sense? Also, is there a way of obtaining the version info from the XML parser library\. regards, OP --- ## Post #2 by @Peter_Gummer1 OxfordPartnership wrote: > This seems work and I get a version back, the version reported is : > $LastChangedRevision: 203 $ > $LastChangedDate: 2007\-04\-10 05:17:40 \+1000 \(Tue, 10 Apr 2007\) $ > > As this is the parser from the latest beta release of the editor, do > those values make sense? >   Unfortunately, not really\. That string represents the last time that the source file openehr\_version\.e was committed to the branch of the ref\_impl\_eiffel repository from which the current ADL Parser DLL is built\. As the last change to that branch was only a month or two ago, sadly the so\-called version string is wildly inaccurate\. There have been improvements to how this is handled in the TRUNK of the ref\_impl\_eiffel repository\. We probably ought to merge those improvements back into the ADL Parser's current release branch, in order to avoid this confusion\. \- Peter --- ## Post #3 by @Oxford_Partnership Thanks for the prompt reply Peter, much appreciated. Is there a way to change the "probably ought to" statement to something a little more definite. i.e. is there a way to formerly request this and get it in to the next build ? thanks once again OP --- ## Post #4 by @Peter_Gummer1 Oxford Partnership wrote: > Is there a way to change the "probably ought to" statement to > something a little more definite\. i\.e\. is there a way to formerly > request this and get it in to the next build ? I've merged OPENEHR\_VERSION into the ADL Parser's current release branch, so you can get accurate details of the parser version\. The version\(\) function that you were calling is gone\. You can now call out\(\) to get a version string\. Archetype Editor's beta release isn't using this new version of the DLL yet\. You can get it from the link half\-way down the ADL Workbench release page: https://wiki.oceaninformatics.com/confluence/display/TTL/ADL+Workbench+Releases The direct link is: http://my.openehr.org/wsvn/oe_distrib/windows/adl_parser/dotnet/?rev=0&sc=0 \- Peter --- **Canonical:** https://discourse.openehr.org/t/parser-versions/13167 **Original content:** https://discourse.openehr.org/t/parser-versions/13167