W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2005

Re: '.' in (but not ending) a QName

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Thu, 16 Jun 2005 13:17:33 +0100
Message-ID: <42B16DDD.90900@hp.com>
To: jos.deroo@agfa.com
CC: public-rdf-dawg@w3.org

jos.deroo@agfa.com wrote:
> Andy - I still live under the assumption that "'.' in (but not ending) a 
> QName"
> is resolution of issue 
> http://www.w3.org/2001/sw/DataAccess/issues#punctuationSyntax
> i.e. 
> http://lists.w3.org/Archives/Public/public-rdf-dawg/2005JanMar/0227.html
> [[
> ...
> could also have either of these forms:
>  WHERE { ?me rdf:type foaf:Person.} # trailing thingy in lexer
>  WHERE { ?me rdf:type foaf:Person .} # parses same as above
> ]]
> I can also live with no "." in [84] NCCHAR (as is actually the case for 
> cwm and jena)
> but not as it is in 1.397 
> http://www.w3.org/2001/sw/DataAccess/rq23/#rNCCHAR
> Hm.. actually still prefer "'.' in but not ending a QName"


This matter came up again when the new syntax grammar was first drafted after 
F2F5.  There is a tradeoff of complex grammar (making a special case of the last 
character, which also be the first) and being more general and more aligned with
XML NCNAMES.  In the end it came down to being more like XML.



PS: Unrelated: Hmm - looking at the grammar, I see that maybe
    [#x0300-#x036F] | [#x203F-#x2040]
should be allowed in variables names.

They are the "combining diacritical marks" block and a couple of general 
punctuations (undertie and tie) and they can be in NCNAMES but not the first 
e.g.  http://www.unicode.org/charts/PDF/U0300.pdf

http://www.fileformat.info/info/unicode/char/0300/index.htm etc

Received on Thursday, 16 June 2005 12:18:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:00:47 UTC