W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > June 2012

Re: PN_LOCAL

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Sun, 17 Jun 2012 18:43:13 +0100
Message-ID: <4FDE1731.5090307@epimorphics.com>
To: public-rdf-dawg-comments@w3.org


On 16/06/12 03:30, Jesse Jones wrote:
> [159]	PN_LOCAL	  ::=  	(PN_CHARS_U | [0-9] | PLX ) ( ( PN_CHARS | '.' | PLX )* ( PN_CHARS | PLX ) ) ?>
>
> Am I correct in assuming that the ? is oddly placed (none of the other usages of ? have a space before the question mark) and that the>  should not appear at all (it's not written using the literal syntax and doesn't appear to be a valid meta-character)?
>
>    -- Jesse
>

In the current editors draft, ">" has been fixed:

[168]  PN_LOCAL  ::=

(PN_CHARS_U | [0-9] | PLX ) ( ( PN_CHARS | '.' | PLX )*  ( PN_CHARS | 
PLX ) ) ?

The ? is in the right place, making the chars after the first optional.


-- first char
(PN_CHARS_U | [0-9] | PLX )

-- rest
any number of intermediate chars and a final char, or none at all (hence 
the ?)


( ( PN_CHARS | '.' | PLX )*
   ( PN_CHARS | PLX )
) ?

stops the last character being a '.'

	Andy
Received on Sunday, 17 June 2012 17:43:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 17 June 2012 17:43:44 GMT