Re: @rel syntax in RDFa (relevant to ISSUE-60 discussion), was: Using XMLNS in link/@rel

Le 1 mars 2009 à 12:58, Dan Brickley a écrit :
> I've toyed with registering a FOAF uri scheme, such that foaf:title  
> is a foaf: URI scheme URI for the thing normally known by the URI
> ...however I don't like the dynamic this creates: everyone who  
> creates an RDF vocabulary will now be under pressure to go register  
> their favoured short name as a URI scheme too, so that someone else  
> couldn't take that name later and subvert the intended meaning of  
> instance data using the original schema.


Hmm What's happening right now with RDFa Parser and search engines  
when the namespaces is not declared? Is there an implementation report  
for this?

hmm let's make a [test case][1] of a file using rel values with no  
namespace declaration. It is an XHTML 1.1 + RDFa as prescribed by the  
current specification. The file contains:

* rel="cc:attributionURL"
* rel="dc:source"

1. The file is DTD [considered valid][2] (normal) but it is not  
conformant with regards to the spec. That would be cool to have Shane  
adding a module for checking this.

2. I have used [RDFa distiller][3] with output format=N-triples,  
Generate warnings, Parser=lax, xhtml, whitespace preserved. So at  
least RDFa distiller detects the mistake.

_:EHoETTqx5 <>  
"CURIE used with non declared prefix: cc".
_:EHoETTqx5 <> < 
_:EHoETTqx6 <>  
"CURIE used with non declared prefix: dc".
_:EHoETTqx6 <> < 
<> < 
 > _:EHoETTqx5.
<> < 
 > _:EHoETTqx6.


Karl Dubost
Montréal, QC, Canada

Received on Sunday, 1 March 2009 18:34:44 UTC