W3C home > Mailing lists > Public > public-rif-wg@w3.org > October 2009

Action needed from BLD/FLD editors! (Re: EBNF grammar of presentation syntax)

From: Axel Polleres <axel.polleres@deri.org>
Date: Fri, 2 Oct 2009 19:45:40 +0100
Cc: Stella Mitchell <stellamit@gmail.com>, "RIF (E-mail)" <public-rif-wg@w3.org>
Message-Id: <BF624C22-B9A0-4C1F-A467-DA712C1EF6B0@deri.org>
To: Sandro Hawke <sandro@w3.org>, Michael Kifer <kifer@cs.sunysb.edu>, Harold Boley <Harold.Boley@nrc-cnrc.gc.ca>
> [...] Can we change Prefix to use NCName, then, instead of Name?  If  
> so, this
> seems fine.


implemented this in

BLD:

http://www.w3.org/2005/rules/wiki/index.php?title=BLD&diff=11478&oldid=11420

and FLD:

http://www.w3.org/2005/rules/wiki/index.php?title=FLD&diff=11480&oldid=11419


pls check, as I also had to change the translation tables and the  
(comments in the XML Schema)!

These changes should be propagated to the separate XML Schema files as  
well

best,
Axel

On 30 Sep 2009, at 17:46, Sandro Hawke wrote:

> >
> > On 30 Sep 2009, at 16:54, Sandro Hawke wrote:
> >
> > > > The easiest and quickest way around this is:
> > > >
> > > > change:
> > > >    Name:=  NCName
> > > > to
> > > >    Name:=  NCName | ('"' UNICODESTRING '"')
> > > >
> > > > any objections against this?
> > >
> > > What if the variable name has a double-quote character in it?
> > >
> > > (As far as I know, the PS can't handle the even xs:strings with  
> quotes
> > > in them.  This is part of the why the PS isn't real.)
> > >
> >
> > That problem was solved a while ago:
> >
> > http://www.w3.org/2005/rules/wiki/DTB#Shortcuts_for_Constants_in_RIF.27s_Pres
> > entation_Syntax
> >
> > "UNICODESTRING, any Unicode string where quotes are escaped and
> > additionally all the other escape sequences defined in http://www.w3.org/TR/r
> > df-sparql-query/#grammarEscapes
> >   and http://www.w3.org/TR/rdf-sparql-query/#codepointEscape."
>
> Ah, I was only looking in BLD.
>
> > Indeed, however, BLD and FLD didn't define a production or point to
> > the UNICODESTRING definition DTB, actually
> > that was inconsistent, I just fixed that, check:
> >
> > http://www.w3.org/2005/rules/wiki/index.php?title=BLD&diff=11420&oldid=11029
> > http://www.w3.org/2005/rules/wiki/index.php?title=FLD&diff=11419&oldid=11030
> >
> > BTW, I realize that we still had the old version of the Name
> > production in the appendix of FLD and BLD,
> > but before I fix it there, we need agreement that
> >
> >     Name:=  NCName | ('"' UNICODESTRING '"')
> >
> > is ok.
>
> Can we change Prefix to use NCName, then, instead of Name?  If so,  
> this
> seems fine.
>
>      -- Sandro
>
>

-- 
Dr. Axel Polleres
Digital Enterprise Research Institute, National University of Ireland,  
Galway
email: axel.polleres@deri.org  url: http://www.polleres.net/
Received on Friday, 2 October 2009 18:46:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 2 October 2009 18:46:16 GMT