Javier Viguera Mu?oz wrote:
> Hello!!
> 
> I have been working with the release of pure Java ADL parser, but when I 
> try to parse any adl file (for instance, 
> adl-test-entry.most_minimal.test.adl, located in the res/test folder of 
> the release) my IDE (Eclipse) throws a ParseException saying that the 
> structure of the file isn't the expected.

The following test case run successfully:

public void testParse() throws Exception {
     ADLParser parser = new ADLParser(new File(dir,
                 "adl-test-entry.most_minimal.draft.adl"));
     Archetype archetype = parser.parse();
     assertNotNull(archetype);
}

And all other adl files under res/test are directly used by unit tests.

Please attach the error message so we can have a close look.

> I'm using the version 1.2.4 of openehr java kernel and windows XP. I 

openehr-kernel-1.2.3 should be used instead, although v1.2.4 should work 
as well.

> have tried with other adl files with different adl version, but the 
> result is the same.
> 
> What can be happening?
> 
> Thanks and regards
> 
> Javier Viguera
> 
> 
> -
> If you have any questions about using this list,
> please send a message to d.lloyd at openehr.org
> 

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

Reply via email to