Print

Print


On 7 May 2004, at 10:38, Chris Croome wrote:

> > <URL:http://www.codestyle.org/test/DCTestCases.shtml>

This is updated with your suggested case at the bottom of the page.

> Also I wonder if it would be worth adding some additional attributes
> to your examples?
>
>   <link rel="DCTERMS.hasVersion"
>         hreflang="en"
>         title="Some Document"
>         type="text/html"
>         charset="UTF-8"
>         href="http://www.codestyle.org/test/rdf-DCNew.shtml#hasVersion
>         "/>

The W3C HTML recommendation states that RFC1766 _must_ be used for
the hreflang attribute, so a DC qualifier can be implied. Cases like
this are transformed to this type of structure:

<rdf:RDF ...>
  <dctype:Text rdf:about="http://www.codestyle.org/test/rdf-
DCNewLinkElementsPlus.shtml">
...
    <dc:relation>
      <rdf:Description rdf:about="http://www.codestyle.org/test/rdf-
DCNew.shtml#relation">
        <dc:language>
          <dcterms:RFC1766>
            <rdf:value>en</rdf:value>
          </dcterms:RFC1766>
        </dc:language>
        <dc:title>Related document</dc:title>
        <dc:format>
          <dcterms:IMT>
            <rdf:value>text/html; charset=UTF-8</rdf:value>
          </dcterms:IMT>
        </dc:format>
      </rdf:Description>
    </dc:relation>
  </dctype:Text>
</rdf:RDF>

Thanks Chris.

Phil
--
<URL:http://www.codestyle.org/>