Re: CWM Tokenization Error

Sean B. Palmer wrote:

>
> Test:
>
>    $ echo '@keywords . "hello" @a_m .' | cwm
>
> Actual:
>
>    swap.notation3.BadSyntax: Line 1 of
>     <file:[...]>: Bad syntax (expected '.' or '}' or ']' at
>     end of statement) at ^ in: "@keywords . "hello" ^@a_m ."
>
> Expected:
>
>    "hello" rdf:type <#_m> .
>
Is that actually expected? running the file through n3proc.py also gives 
an exception for me.
Exception: Found @a_m when expecting a 
http://www.w3.org/2000/10/swap/grammar/n3#dtlang

This leaves n3pp.py still fixing an invalid file.

Yosi

Received on Monday, 17 January 2005 16:07:17 UTC