• Tidak ada hasil yang ditemukan

Multi-Language Support via AcceptLanguages Parameter

N/A
N/A
Protected

Academic year: 2017

Membagikan "Multi-Language Support via AcceptLanguages Parameter"

Copied!
2
0
0

Teks penuh

(1)

All Fields marked with

*

are mandatory.

Change Request

#:

22

Assigned OGC

Document #:

09-174

Name:

*

Jolyon Martin

Organization:

*

ESA

Email:

*

Jolyon.Martin@esa.int

Document

Name/Version:

*

Web Services Common Standard / 1.2

OGC Project

Document:

*

06-121r8

If this is a revision of a previous submission and you have a Change Request Number, then check here:

Enter the CR number here:

Enter the Revsion Number that you are revising here:

Title:

*

Multi-Language Support via AcceptLanguages Parameter

Source:

*

http://wiki.services.eoportal.org/tiki-index.php?page=HMA-FO+OWS+Common+1.2+review

Work item code:

Category:

*

Reason for

change:

*

SPS needs to support responses with messages in multiple languages (e.g. both in French and English)

Summary of

change:

*

Clause 7.3.6 in OWS Common 1.2 mentions the inclusion of an acceptLanguages parameter in all OWS requests. This parameter is defined in detail for the GetCapabilities operation. A client may provide a list of languages in preferred order and the service creates a response using the supported language that has highest client preference - if none of the requested languages is supported an exception is thrown.

There are several issues here:

1. The examples in section 7.3.6 show when an exception is thrown in two situations. However, nothing is said about which exception code should be used to describe which situation. These situations should be documented as clearly as possible in the standard. 2. Right now the description of the acceptLanguages parameter

(2)

allows only one language in the response - however, at SPS we could support responses with messages in multiple languages (e.g. both in French and English). The description in OWS Common 1.2 should thus be relaxed to support provision of more than one language (in properties that are designed for that purpose) if supported by the service and requested by the client. This might require another parameter to indicate whether multi-language response is desired by the client or not - same for the service to indicate support for this

functionality.

3. The encoding of the OWSServiceMetadata (type in UML) as

GetCapabilitiesBaseType in owsGetCapabilities.xsd (notice the clash of naming here) shows a "Languages" element which looks like another section that can be queried by a client to know about all languages supported by a service. However, the UML model of GetCapabilities and OWSServiceMetadata on page 144 (figure C.2) does not show this section (neither in the "Section" code list nor as property of

OWSServiceMetadata). However, with respect to multi-language support in all OWS operations, this section should be queryable. The UML model and XML encoding thus need to be updated:

* add "languages" code to "Section" code list * add property "languages" to OWSServiceMetadata

* make "Languages" (or LanguagesMetadata) a type in the UML model - for example like OperationsMetadata - with according encoding as global XML element.

* preferably, rename OWSServiceMetadata to CapabilitiesBase or vice versa so that UML model and XML encoding have a better match. * add abstract element "CapabilitiesBase" to XML encoding in owsGetCapabilities.xsd (pending name changes - see above) of type CapabilitiesBaseType to enable correct substitution of this abstract class by OWS - right now a correction of the automatically encoded service model from SPS is needed because no such element type exists which the SPS Capabilities element can state as its substitution group

Consequences if

not approved:

Clauses affected:

*

Clause 7.3.6 in OWS Common 1.2

Additional

Documents

affected:

Supporting

Documentation:

http://wiki.services.eoportal.org/tiki-index.php?page=HMA-FO+OWS+Common+1.2+review

Comments:

Status:

Disposition:

Referensi

Dokumen terkait

Variabel independen yang diteliti yaitu; Tujuan organisasi (X1), struktur organisasi (X2), Tata hubungan (X3), sistem penghargaan (X4), Kepemimpinan (X5) dan

data yang berupa file audio, video maupun data melalui jaringan berbasis

(3) Pendidikan dan pelatihan keperawatan berkelanjutan sebagaimana dimaksud pada ayat (2) butir (b) dalam bentuk program sertifikasi yang dilaksanakan sesuai dengan

Memberikan kesempatan bagi umum untuk membaca bahan pustaka yang dapat membantu meningkatkan mereka kearah kehidupan yang lebih baik.. Menyediakan sumber informasi yang cepat,

Merupakan nyeri haid yang tidak terdapat hubungan dengan.. kelainan ginekologi, atau kelainan

In this article, we have introduced some time economic innovative methods [1-10] comprising prediction of hybridization state, bond order for diatomic homo / hetero

The research investigated student and teacher perspectives on the ways that this framework enables teachers to address diversity, and how this, in turn, impacts on the learning of

Problematika Penerapan Hukum Acara Perdata Barat di Lingkungan Peradilan Agama Hubungan Pemerintah Pusat dan Pemerintah Daerah. Menurut