Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

2.7 string Data Type

A string is a chunk of Unicode text. It is an XML schema primitive data type as specified in [XMLSCHEMA2/2] section 3.2.1. An element of this type is declared as an element with a type attribute of "string".

Elements with a string data type MUST be encoded and transmitted as [WBXML1.2] inline strings.

Some string values are constrained to a particular set of values, which is included in the description of the element.

ActiveSync defines several conventions for strings that adhere to commonly used formats:

  • Byte Array (section 2.7.1)

  • E-mail Address (section 2.7.2)

  • Telephone Number (section 2.7.3)

  • TimeZone (section 2.7.4)

  • Compact DateTime (section 2.7.5)

Elements of these types are defined as string types in XML schemas, but commands that process such elements can return an error if the value of the element does not adhere to the expected format.

© 2015 Microsoft