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

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"
> 
> 

Jos,

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.

http://lists.w3.org/Archives/Public/public-rdf-dawg/2005AprJun/0169

	Andy

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 
character.
e.g.  http://www.unicode.org/charts/PDF/U0300.pdf

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

http://www.fileformat.info/info/unicode/char/203f/index.htm
http://www.fileformat.info/info/unicode/char/2040/index.htm

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