@prefix feedback

Hello all

On the whole I like the new @prefix attribute, but I would like to 
suggest just one small change....

http://www.w3.org/2010/02/rdfa/drafts/2010/ED-rdfa-core-20100414/#dfn-prefix

says...

prefix
     a whitespace separated list of prefix-name URI pairs of the form

     NCName ':' ' '+ xs:anyURI


  example,  foaf: http://xmlns.com/foaf/0.1/

I think prefixes should maybe be defined as,

    NCName ':' + xs:anyURI

example,  foaf:http://xmlns.com/foaf/0.1/ (no space between prefix and uri)

because its much easier to parse a set of space separated tokens than 
matching whole strings and it matches existing patterns in html too ;)

Thanks

-- 
Martin McEvoy

Received on Thursday, 15 April 2010 12:24:27 UTC