Compartilhar via


3.1.4.1.9 wsmv:DataLocale

Web Services Management Protocol Extensions for Windows Vista servers MAY<48> send the wsmv:DataLocale header with response messages.When sent as part of a response message, the wsmv:DataLocale header SHOULD indicate the language in which the server formatted the numerical data in the response text.

Like the wsman:Locale header, the wsmv:DataLocale header makes use of the standard XML attribute xml:lang and MUST be defined as follows.

<wsmv:DataLocale xml:lang="xs:language" s:mustUnderstand="false" />

When sent as part of a request message, the wsmv:DataLocale header SHOULD be processed as the wsman:Locale header is processed, as specified in [DMTF-DSP0226] section 6.3. The only difference is that the language in question SHOULD<49> be used when formatting numerical data in the response text, not when translating the text.

Web Services Management Protocol Extensions for Windows Vista servers MUST NOT set the mustUnderstand attribute of this element to "true". Web Services Management Protocol Extensions for Windows Vista servers SHOULD return a fault of wsman:UnsupportedFeature with a detail code of http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/DataLocale, if the mustUnderstand attribute of this element is "true".