Open tbonfort opened 12 years ago
Author: tomkralidis Date: 2006/11/02 - 20:04
Bart,
As far as actually putting this out in the code, we can start with
ExceptionReport elements in OGC:SOS. When the other OWSs encompass OWS Common,
then their XML will support it (i.e. output of elements or attributes for
language), and we will be ready for it via the function defined below.
Author: tomkralidis Date: 2006/11/02 - 20:09
I've committed this in CVS HEAD under mapows.c (msOWSGetLanguage).
Jeff (added to cc): for documentation. For now, under the OGC:SOS documentation
(Web Object Metadata):
ows_language
* Description: (Optional) Descriptive narrative for more information about
the server. Identifier of the language used by all included exception text
values. These language identifiers shall be as specified in IETF RFC 1766. When
this attribute is omitted, the language used is not identified. Examples:
"en-CA", "fr-CA", "en-US".
Author: tomkralidis Date: 2006/11/02 - 20:11
assigning to Jeff for docs.
Author: tomkralidis Date: 2006/11/06 - 16:32
Update: msOWSLanguage, if called in the context of an exception, will always
return en-US. Else, it will fetch MAP/WEB/METADATA/ows_language
Author: tomkralidis Date: 2006/11/10 - 02:43
FYI maperror.h now has a #define called MS_ERROR_LANGUAGE "en-US" for use by
error handlers.
Author: tomkralidis Date: 2007/12/31 - 15:51 Updated SOS Server howto. Closing
Reporter: tomkralidis Date: 2006/11/02 - 19:58