Re: Use of dc:language in test subject?

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 UTC