From: Alan R. <ala...@gm...> - 2006-05-05 16:33:08
|
Does the trick. Thanks!! -Alan On May 5, 2006, at 10:40 AM, Matthew Horridge wrote: > Alan, Ron, > > This is because in the lexer spec for the abstract owl syntax > parser, PREFIX is defined to be one or more letters. > > I've modified this to be letter, followed by zero or more letters > or digits. This seems to fix the problem. You should be able to > just get lexer.g, from the grammar folder in the abstractparser > module, from sourceforge and use antlr to regenerate the parser. > > Cheers, > > Matthew > > > On 5 May 2006, at 13:43, Ron Alford wrote: > >> Alan Ruttenberg wrote: >>> Seem to cause problems. I believe that they should be ok >>> according to >>> the qname spec. >>> >>> So >>> >>> Namespace(bpii = <http://www.biopax.org/release/biopax-level2.owl#>) >>> >>> parses fine, but >>> >>> Namespace(bp2 = <http://www.biopax.org/release/biopax-level2.owl#>) >>> >>> causes and error: >>> >>> line 1:11: expecting PREFIX, found 'bp2' >> >> Hi Alan, >> A bunch of the issues you are bringing up can be traced back to >> OWLApi. >> Although we do maintain our own branch of this, the original project >> has started back up (and we are tracking their changes). It would be >> easier for us if you sent these reports directly to them. >> >> -Ron >> > |