W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > March 2002

Re: NTriples proposed changes summary

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Fri, 15 Mar 2002 14:15:24 +0000
To: Graham Klyne <Graham.Klyne@MIMEsweeper.com>
cc: w3c-rdfcore-wg@w3.org, Tim Berners-Lee <timbl@w3.org>
Message-ID: <13887.1016201724@tatooine.ilrt.bris.ac.uk>
>>>Graham Klyne said:
> At 11:27 AM 3/15/02 +0000, Dave Beckett wrote:
> >So although Tim has raised a problem with using '-' in the proposed
> >changes, I feel we should make this change for now.  We can revisit
> >this later and tweak the format again if and when we get a better way
> >to resolve this encoding of lang-strings (or we make some other change).
> 
> I don't feel strongly about this, but in view of Tim's comment would offer 
> this suggestion (for use now, later or never):
> 
>    literal  ::=  plainstring | langString | xmlString
> 
>    plainstring   ::= '"' string '"'
> 
>    langString   ::= 'lit(' '"' string '"' ',' language ')'
> 
>    xmlString    ::= 'xml(' '"' string '"' (',' language)? ')'
> 
>    language     ::= character+  excluding ',', '(', ')' and ws
> 
> I think this avoids confusion with N3 (...) because N3 syntax has that only 
> at the start of a statement.  For greater safety, maybe reserve 'xml' and 
> 'lit' as keywords?

I came up with a suggestion very similar to that earlier.  However I
don't want to have to wait to hear what the N3 developers want to do
(such as any plans for the use of round brackets or predicate-type
things) and so again, lets go with what I currently proposed.  

Then we can move forward and get issues closed; which requires test
cases; which requires a test case format that can encode them.

We don't need to get the perfect test file format first (or nth) time
around, just sufficient for now.

Dave
Received on Friday, 15 March 2002 09:15:28 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:46:18 EDT