3.1.4.10.3.1 CultureCommandParameter

Namespace: http://schemas.microsoft.com/office/Access/2010/11/Server/WebServices/AccessServerInternalService/

The CultureCommandParameter complex type is used to specify UI culture, data culture, and host data language related information when creating a new session.

 <xs:complexType name="CultureCommandParameter" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:sequence>
     <xs:element minOccurs="0" name="DataCultureName" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" name="SharePointDataCultureName" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" name="TimeZoneSerialization" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" name="UICultureName" nillable="true" type="xs:string"/>
   </xs:sequence>
 </xs:complexType>

DataCultureName: A string ([XMLSCHEMA2] section 3.2.1) that specifies a language tag, as specified in [RFC1766], section 2, that specifies the data culture. The DataCultureName element:

  • MUST be present.

  • MUST NOT be empty.

  • MUST NOT be longer than 32,768 characters.

The protocol server uses SharePointDataCultureName as a fallback data culture if DataCultureName is not supported.

SharePointDataCultureName: A string ([XMLSCHEMA2] section 3.2.1) that specifies a language tag, as specified in [RFC1766], section 2, that specifies the host data language. The SharePointDataCultureName element:

  • MUST be present.

  • MUST NOT be longer than 32,768 characters.

TimeZoneSerialization: A string ([XMLSCHEMA2] section 3.2.1) that specifies the time zone of the session. The TimeZoneSerialization element:

  • MUST be present.

  • MUST be exactly 73 characters long.

  • MUST have the following layout, which is specified using Augmented Backus-Naur Form (ABNF), as specified in [RFC2234]:

    TimeZone

    =

    Bias "#" StandardDate "#" StandardBias "#" DaylightDate "#" DaylightBias

    Bias

    =

    "+"\"-" 4DIGIT

    StandardDate

    =

    Date %d84 Time

    StandardBias

    =

    "+"\"-" 4DIGIT

    DaylightDate

    =

    Date %d84 Time

    DaylightBias

    =

    "+"\"-" 4DIGIT

    Date

    =

    Year "-" Month "-" DayOfWeek "-" Day

    Time

    =

    Hour ":" Minute ":" Second ":" Millisecond

    Year

    =

    4DIGIT

    Month

    =

    2DIGIT ; 01-12

    DayOfWeek

    =

    2DIGIT ; 00-06 (Sunday-Saturday)

    Day

    =

    2DIGIT ; 01-31

    Hour

    =

    2DIGIT ; 00-23

    Minute

    =

    2DIGIT ; 00-59

    Second

    =

    2DIGIT ; 00-59

    Millisecond

    =

    4DIGIT

The following restrictions MUST apply to the TimeZoneSerialization element:

DayOfWeek MUST have one of the values in the following table.

Value

Meaning

00

Sunday

01

Monday

02

Tuesday

03

Wednesday

04

Thursday

05

Friday

06

Saturday

 

UICultureName: A string ([XMLSCHEMA2] section 3.2.1) that specifies a language tag, as specified in [RFC1766], section 2, that specifies the UI culture. The UICultureName element:

  • MUST be present.

  • MUST NOT be empty.

  • MUST NOT be longer than 32,768 characters.

  • If the language represented by UICultureName is not supported on the protocol server, the protocol server SHOULD fall back to some other supported language which is implementation-specific.