日向夏特殊応援部隊

俺様向けメモ

XRDS Document のメモ (6) - 4.2.6 Service Endpoint Selection Elements

The final set of service endpoint descriptor elements is used in XRI resolution for service endpoint selection. These all include two global attributes used for this purpose: match and select.

service endpoint descriptor 要素の最後のセットは service endpoint の選択の為の XRI resulution で使われるものです。これらは全て match と select と言うこの目的の為に使われるグローバル属性を含んでいます。

xrd:XRD/xrd:Service/xrd:Type

0 or more per xrd:XRD/xrd:Service element. A unique identifier of type xs:anyURI that identifies the type of capability available at this service endpoint. See section 3.1.2 for the resolution service types defined in this specification. If a service endpoint does not include at least one xrd:Type element, the service type is effectively described by the type of URI specified in the xrd:XRD/xrd:Service/xrd:URI element, i.e., an HTTP URI specifies an HTTP service. See section 13.3.6 for Type element matching rules.

xrd:XRD/xrd:Service 要素に対して 0 以上存在します。この service endpoint における利用出来る能力の種別を識別する xs:anyURI 型のユニークな識別子です。この仕様で定義される resolution service 型 の為に 3.1.2 節を見て下さい。もし service endpoint が少なくとも一つ xrd:Type 要素を含まない場合、service type は事実上 xrd:XRD/xrd:Service/xrd:URI 要素の中で指定された URI の型によって記述されます。例えば HTTP URI は HTTP サービスであるという具合です。TYpe 要素のマッチングルールについては 13.3.6 節を見て下さい。

xrd:XRD/xrd:Service/xrd:Path

0 or more per xrd:XRD/xrd:Service element. Of type xs:string. Contains a string meeting the xri-path production defined in section 2.2.3 of [XRISyntax]. See section 13.3.7 for Path element matching rules.

xrd:XRD/xrd:Service 要素に対して 0 以上存在します。[XRISyntax] の 2.2.3 節で定義される xri-path が提示する事を兼ね備える文字列を含みます。Path 要素のマッチングルールの為に 13.3.7 節を見て下さい。

xrd:XRD/xrd:Service/xrd:MediaType

0 or more per xrd:XRD/xrd:Service element. Of type xs:string. The media type of content available at this service endpoint. The value of this element MUST be of the form of a media type defined in [RFC2046]. See section 3.3 for the media types used in XRI resolution. See section 13.3.8 for MediaType element matching rules.

xrd:XRD/xrd:Service 要素に対して 0 以上存在します。xs:string 型です。この service endpoint において利用可能なコンテンツのメディアタイプです。この要素の値は [RFC2046] で定められたメディアタイプの形式でなければなりません (MUST)。XRI resolution で利用されるメディアタイプについては 3.3 節を見て下さい。MediaType 要素のマッチングルールに関しては 13.3.8 節を見て下さい。

The XRD schema (Appendix B) allows other elements and attributes from other namespaces to be added throughout. As described in section 17.1.1, these points of extensibility can be used to deploy new XRI resolution schemes, new service description schemes, or other metadata about the described resource.

XRD schema (付録 B) ではいたるところに付け加えられる為の他のネームスペースからの他の要素や属性を許容します。17.1.1 節で記述されているものとして、これらの拡張性の要点は新しい XRI resolution schemes、新しい service description schemes、あるいは記述されたリソースに関するほかのメタデータを配置する為に使われる事ができます。