W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > June 2005

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

From: EspeonEefi <eefi@MIT.EDU>
Date: Thu, 16 Jun 2005 16:17:40 -0400
To: public-cwm-bugs@w3.org, syosi@MIT.EDU
Message-Id: <1118953060.6503.87.camel@localhost.localdomain>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:59 GMT