資源描述架構模型暨語法規格書
上一頁(P) 上一層(T) 下一頁(N)
附錄 A. 詞彙表   附錄 C:使用上的注意

附錄 B:傳送資源描述架構

Description 元素可以使用下列四種方式之一結合所要描述的資源:

  1. Description 元素可以包含在資源內(像是插入到超連結文字標記語言)。
  2. The Description may be external to the resource but supplied by the transfer mechanism in the same retrieval transaction as that which returns the resource ("along-with"; e.g. with HTTP GET or HEAD).
  3. Description 元素可以獨立地從資源中取得,並且還可以從不同的來源取得 Description 元素("service bureau"; e.g. using HTTP GET)。
  4. Description 元素本身可包含資源(像是在資源描述架構中插入某些特定資源的字樣)。

資源並非完全支援上述這四種方法,尤其是許多種類的資源並未支援 1,而只有某些種類的資源支援 4。

A human- or machine-understandable description of an RDF schema may be accessed through content negotiation by dereferencing the schema URI. If the schema is machine-understandable it may be possible for an application to learn some of the semantics of the properties named in the schema on demand.詞彙描述的邏輯和語法是在另一份文件[詞彙描述]會加以描述。 

把資源描述架構的表達式插到超連結文件標記語言中的建議技術就只是簡單地像範例7.7一樣。這會使得產生的文件並不符合超連結文字標記語言的規格,即使是超連結文字標記語言4.0版也是一樣的,但是全球資訊網協則預期超連結文字標記語言的規格會繼續發展下去,並且可以支援把資源描述架構的表達式插到超連結文字標記語言中。當符合超連結文字標記語言4.0規格的相關瀏覽器採用這種技術時,則產生了兩個較為實際的問題。Alternatives are available to authors in these cases; see [XMLinHTML]. It is up to the author to choose the appropriate alternative in each circumstance.

  1. 某些支援超連結文字標記語言2.0的瀏覽器會假設 </HEAD>標記會立即在第一個 RDF 元素之前,而這個 RDF 元素是在 <HEAD>標記之內。作者所關心的事是非常老舊式的瀏覽器可能把所有的資源描述架構表達式都放在文件標題的最後面。
  2. 所有符合超連結文字標記語言4.0規格的瀏覽器會呈現任何內容,會把資源描述架構的屬性值會表示成一個延伸標記語言的元素。(i.e., production [6.12]).作者所關心的事是從舊式瀏覽器中防止他們的資源描述架構的內容呈現出來,這可能使用縮寫語法(propAttr 形式)把屬性值轉成一個屬性,並非所有的屬性都可以用這個方式表示。

In the event that none of the alternatives above provides the capabilities desired by the author, the RDF expressions may be left external to the HTML document and linked with an HTML <LINK> element. The recommended relation type for this purpose is REL="meta"; e.g.

<LINK rel="meta" href="mydocMetadata.DC.RDF">