W3C home > Mailing lists > Public > public-wai-ert@w3.org > August 2006

Re: Use of dc:language in test subject?

From: Shadi Abou-Zahra <shadi@w3.org>
Date: Thu, 31 Aug 2006 19:15:42 +0200
Message-ID: <44F7193E.8070105@w3.org>
To: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Cc: public-wai-ert@w3.org

Right. I bow before you humbly. ;)

The correct way would be to do this in the dc:description of the earl:TestSubject instance that is referenced by the earl:subject property. Here is a better example that shows both methods:

<earl:subject>
  <earl:TestSubject>
    <dc:title xml:lang="en">left nav bar</dc:title>
    <dc:description rdf:parseType="Literal"><![CDATA[<xhtml xml:lang="fr" ...>...</xhtml>]]></dc:description>
  </earl:TestSubject>
</earl:subject>


Still, I do not see a use case for dc:language. Correct?

Best,
  Shadi


Johannes Koch wrote:
> 
> Shadi Abou-Zahra wrote:
>> What about using the xml:lang attribute on the RDF nodes (for example 
>> <earl:subject xml:lang="fr" .../>)?
>>
>> Or even better, when possible, within the content itself. For example 
>> <earl:subject><![CDATA[<xhtml xml:lang="fr" 
>> ...>...</xhtml>]]></earl:subject>.
> 
> The object for earl:subject is not defined to be a Literal. It must be 
> an earl:TestSubject.
> 

-- 
Shadi Abou-Zahra     Web Accessibility Specialist for Europe | 
Chair & Staff Contact for the Evaluation and Repair Tools WG | 
World Wide Web Consortium (W3C)           http://www.w3.org/ | 
Web Accessibility Initiative (WAI),   http://www.w3.org/WAI/ | 
WAI-TIES Project,                http://www.w3.org/WAI/TIES/ | 
Evaluation and Repair Tools WG,    http://www.w3.org/WAI/ER/ | 
2004, Route des Lucioles - 06560,  Sophia-Antipolis - France | 
Voice: +33(0)4 92 38 50 64          Fax: +33(0)4 92 38 78 22 | 
Received on Thursday, 31 August 2006 17:15:50 GMT

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