qname shortland starting with a digit

Hi,

For the following uri <http://tap.xmlns.com/data/7UpBrand>

A n3 file can contains:

    @prefix data: <http://tap.xmlns.com/data/>
    :x a data:7UpBrand

The n3 grammar do not accept "data:7UpBrand"

I propose to change qname non terminal definition as follow:

[qname] : name 
        | ':' n_name_opt
        | name ':' n_name_opt
        ;

n_name_opt :
           | n_name
           ;

where n_name is a name that can start with a digit

Luc Peuvrier

Received on Monday, 27 April 2009 09:50:25 UTC