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

Re: Use of dc:language in test subject?

From: Nils Ulltveit-Moe <nils@u-moe.no>
Date: Thu, 31 Aug 2006 21:08:45 +0200
Message-ID: <44F733BD.8040206@u-moe.no>
To: Shadi Abou-Zahra <shadi@w3.org>
CC: public-wai-ert@w3.org

Hash: SHA1

Hi Shadi,

We can probably use the lang attribute to the earl:TestSubject.

The use case is that our pool of assessment modules parse the (X)HTML
pages that we want to perform automatic assessments on. We would like
harvest information about the content language of the page being
assessed for statistical analysis in a data warehouse, and we would like
to utilise the fact that the assessment module already had this
information available.

Best regards,

Shadi Abou-Zahra wrote:
> 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.

Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Received on Thursday, 31 August 2006 19:09:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:54 UTC