W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > October 2007

Re: non-prefixed @rel

From: Elias Torres <elias@torrez.us>
Date: Wed, 10 Oct 2007 21:36:42 -0400
Message-ID: <470D7E2A.7080704@torrez.us>
To: Manu Sporny <msporny@digitalbazaar.com>
CC: RDFa <public-rdf-in-xhtml-tf@w3.org>

should rel/rev use safe CURIE syntax?
can rel/rev use an absolute URI?

Manu,

instanceof is completely new, there's no specification telling us of 
allowed values as is the case in XHTML. Therefore, I don't think Ben's 
proposal applies to instanceof.

-Elias

Manu Sporny wrote:
> Ben Adida wrote:
>> Ben's Non-Prefixed @rel Proposal
>>
>> rel="X"
>>
>>   - if X is a XHTML 1.1 reserved value, it is re-written in a
>> pre-processing stage as rel="xh:X", where xh maps to
>> http://www.w3.org/1999/xhtml/vocab#.
>>
>>   - if X is a prefixed value, it is processed normally.
>>
>>   - if X is a non-prefixed, non-reserved value, it is ignored by any
>> baseline RDFa parser, though other conformant parsers may choose to
>> generate a triple *outside* of the default graph, as per [RDFa Parser
>> Conformance].
>>
>> The same rules apply to each value in a space-separated set of values for X.
>>
>> The same rules apply to @rev, which has the same backwards compatibility
>> issues as @rel.
>>
>> For consistency, the same rules apply to @property and @instanceof.
>> ========
>> Thoughts?
> 
> Definitely like the new non-prefixed @rel proposal, especially the
> orthogonality to @property.
> 
> Just to be clear, are these the XHTML 1.1 reserved values[1]?:
> 
> alternate, stylesheet, start, next, prev, contents, index, glossary,
> copyright, chapter, section, subsection, appendix, help and bookmark
> 
> How does this work for @instanceof? I thought we could only have RDF
> classes in @instanceof? In other words, would the following be valid?
> 
> <span about="#foo" instanceof="copyright">
>    <a rel="help" href="#ccsa3">Creative Commons Share Alike 3.0</a>
> </span>
> 
> Would it generate the following triples?:
> 
> <#foo> rdf:type xh:copyright;
>        xh:help <#ccsa3>;
> 
> -- manu
> 
> [1]http://www.w3.org/TR/xhtml-modularization/abstraction.html#dt_LinkTypes
> 
Received on Thursday, 11 October 2007 01:36:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:15 GMT