[closed] Re: Cwm generates n3 that it can't read

On Fri, 2005-06-10 at 10:42 -0400, EspeonEefi wrote:
> Re: http://lists.w3.org/Archives/Public/public-cwm-bugs/2004Nov/0011
> 
> Seems to be fixed in CVS.
> 
> echo '@prefix a: <b:c#> .
> a:q <b:c#v:d> <b:c#r> . ' | cwm | cwm
> 
> gives me
> 
> #Processed by Id: cwm.py,v 1.169 2005/06/06 20:16:15 syosi Exp
>         #    using base file:/home/espeoneefi/programming/cwm/2000/10/swap/
> 
> #  Notation3 generation by
> #       notation3.py,v 1.179 2005/06/09 20:13:48 syosi Exp
> 
> #   Base was: file:/home/espeoneefi/programming/cwm/2000/10/swap/
>      @prefix : <b:c#> .
> 
>     :q     <b:c#v:d> :r .
> 
> #ENDS
> 
> 

Apparently, QNames are not supposed to have any colons other than the
one between the prefix and local part. Thus, the cwm-1.0.0 output
of :v:d was an invalid QName. I've added a test for that.

URI: http://www.w3.org/2000/10/swap/test/regression.n3#t1060
description: "don't make QNames with more than 1 colon"
input: http://www.w3.org/2000/10/swap/test/syntax/colon-no-qname.n3
output: http://www.w3.org/2000/10/swap/test/syntax/colon-no-qname.n3

-- eefi

Received on Thursday, 16 June 2005 20:17:56 UTC