RE: PS grammar question

Hi Hassan,
 
Yes, there was a typo in Example 4, reproduced in Example 7,
where the XML syntax showed the correct version:
<Const type="&rif;iri">http://www.w3.org/</Const>

The PS syntax of both examples is now fixed, using the corresponding
"http://www.w3.org/"^^rif:iri
 
Regarding the IRI arguments within Prefix and Base, I agree,
they are used as strings here, so it is fine with me to surround
them by double quotes.
 
Hi Chairs,
I would like to bring these "Prefix and Base IRI strings" into the
Tue telecon for brief discussion and possible resolution.
 
Harold
 
________________________________

From: Hassan Ait-Kaci [mailto:hak@ilog.com] 
Sent: September 20, 2008 10:15 PM
To: kifer@cs.sunysb.edu
Cc: Boley, Harold; RIF WG
Subject: RE: PS grammar question


> Looks like a typo. Should be <http:...> or the full "..."^^rif:iri

I surmised so, but wanted to check. Harold should confirm or explain.

What about the following remark (which is really causing me a problem):

> PS/ BTW, the PS grammar's tokenizing is now complexified due to using PS
>     to declare Prefix and Base pragmas not using double-quoted strings
>     around the IRI's. The alternative would be to parse IRI's - which is
>     beyond such a prototype's goal. In the canonical PS, all such IRI's
>     are double-quoted strings which greatly simplifies the tokenizing.
>     It'd be as simple and as easy to do so for the Prefix and Base pragmas.

Can we change the PS syntax to require double-quotes around the IRI's
in the pragmas Prefix and Base? (I call them pragmas because all they do
is declare the IRI name spaces used in CURIE shorthands.) It would be a
simple amendment to the PS BNF and would immensely simplify implementing
a lexer for the PS.

Thanks.

-hak
--
Hassan Aït-Kaci  *  ILOG, Inc. - Product Division R&D
http://koala.ilog.fr/wiki/bin/view/Main/HassanAitKaci



-----Original Message-----
From: Michael Kifer [mailto:kifer@cs.sunysb.edu]
Sent: Sun 9/21/2008 2:40 AM
To: Hassan Ait-Kaci
Cc: harold boley; RIF WG
Subject: Re: PS grammar question



On Sat, 20 Sep 2008 17:32:51 -0700
"Hassan Ait-Kaci" <hak@ilog.com> wrote:

> > (* "http://sample.org"^^rif:iri pd[dc:publisher -> http://www.w3.org/
> >                                    dc:date -> "2008-04-04"^^xs:date] *) 
>
> Can you please explain to me how http://www.w3.org/ can be derived as a
> TERM according to the EBNF rules cited above?

Looks like a typo. Should be <http:...> or the full "..."^^rif:iri

m

Received on Sunday, 21 September 2008 17:13:57 UTC