Term case-sensitivity

I asked this question back in May [1], but never received an answer. It seems that it has been resolved in [2], but I'm wondering if this is really the intention of the WG. This is currently defined as follows:

[[

When an RDFa attribute permits the use of a term, and the value being evaluated matches the production for term above, it is transformed to a URI using the following logic:

 *   If the term matches an item in the local term mappings<http://www.w3.org/TR/rdfa-core/#dfn-local_term_mappings> list when compared case-insensitively, use the associated URI.

]]

The question regards case-insentive matching of terms to local term mappings. I understand that this is necessary for XHTML Vocabulary items, so that rel="next" is the same as rel ="NEXT", but this also has the consequence of not allowing the creation of terms from other vocabularies, where case sensitivity is essential. For example, I might want to create the following terms:

[ rdfa:term "agent"; rdfa:uri "http://purl.org/NET/c4dm/event.owl#agent" ] .
[ rdfa:term "Agent"; rdfa:uri "http://xmlns.com/foaf/0.1/Agent" ] .

As case-sensitivity of URIs, at least, is important in RDF, you could consider that case-sensitifity of terms would also be important, to allow use cases such as I just described. Certainly, I could get around this by changing the term name, but it makes it easy for someone to accidentally include two different terms that differ only in their case.

If the intention is to simply allow for case-insesitive compatibility with XHTML Vocabulary terms, then it might be better to place special rules in XHTML+RDFa to treat these specific terms case-insensitiveliy, but have other terms be case-sensitive.

For the record, I find RDFa vocabularies an important addition to RDFa 1.1, as they make the markup much easier to specify and reduce error. By publishing a single vocabulary document, I can provide documentation to authors of acceptable terms across multiple namespaces, and can stay away from the trend towards re-defining core concepts in a single vocabulary as, for example, Media Annotations has done with ma:title, effectively duplicating dc:title.

RDFa is the natural language for representing vocabularies, as it allows me to combine the documentation with the specification.

I would also prefer to use the following to express these terms:

<http://purl.org/NET/c4dm/event.owl#agent> rdfa:term "agent .
<http://xmlns.com/foaf/0.1/Agent> rdfa:term "Agent" .

Gregg

[1] http://lists.w3.org/Archives/Public/public-rdfa-wg/2010May/0036.html
[2] http://www.w3.org/TR/rdfa-core/#s_terms

Received on Friday, 8 October 2010 19:39:18 UTC