String Language-Independent Type for YAML™ Version 1.1

Working Draft 2005-01-18

Oren Ben-Kiki

Clark Evans

Brian Ingerson

This document may be freely copied provided it is not modified.

Status

This specification is a draft reflecting consensus reached by members of the yaml-core mailing list. Any questions regarding this draft should be raised on this list.


URI:

tag:yaml.org,2002:str

Shorthand:

!!str

Kind:

Scalar.

Definition:

Unicode strings, a sequence of zero or more Unicode characters. This type is usually bound to the native language’s string or character array construct. Note that generic YAML tools should have an immutable (const) interface to such constructs even when the language default is mutable (such as in C/C++).

Canonical Format:

N/A (single format).

Resolution and Validation:

This tag accepts all scalar values. It is is typically used as the fall-back tag for scalar nodes.

Example 1. !!str Examples

string: abcd