Skip to Navigation | Skip to Content

openEHR-Implementers mailing list archives

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

Re: Problem with ADL_parser


Javier Viguera Muñoz wrote:
Hello Ron!!

I hadn't read the post of Tom, so following his advice, I send the post 
again but in the implementers list.

The error message is the following:

Parsing: dl-test-entry.most_minimal.draft.adl

log4j:WARN No appenders could be found for logger 
(org.openehr.am.archetype.Archetype).
log4j:WARN Please initialize the log4j system properly.
se.acode.openehr.parser.ParseException: Encountered "<EOF>" at line 16, 
column 1.
Was expecting:
<SYM_CONCEPT> ...

If I try to parse other adl file the result is the same. Any idea?
Not sure. It seems to be a platform specific issue, but it does work on 
my Win2K desktop.

Can you please confirm that all unit tests pass on your WinXP? Just cd 
to the top directory and type "maven clean javacc test".

You can also try to run the parser from console instead of Eclipse, 
just 
include commons-lang, commons-collections, log4j, openehr-kernel in 
your 
classpath and type "java se.acode.openehr.parser.ADLParser [adl_file]". 
If the parsing is successful, you should see a screen dump of the 
archetype object model.

Let me know how does it go.

Rong



Thanks


-
If you have any questions about using this list,
please send a message to d.lloyd@openehr.org