Why value cannot be sent as a token, or undefined when it can. A token is a value GENESIS
compares as a code: an object code (name), a selection, an area, a year, a date, a
regional or classifying variable or key. The rules apply to the value with surrounding
whitespace trimmed, as it is sent (normalizeToken): not blank (and not only invisible
characters or combining marks), no lone surrogate, and no control or format character at all
(a zero-width space, ZWJ, a soft hyphen, a bidi control), since an invisible character in a
code only ever makes it match nothing (GENESIS then answers Status 104, "nothing found").
Inner spaces are allowed (a selection searched by content). The reason quotes the value
visibly. The value lists (language, category, the criteria, format) are checked against
their known values instead (oneOfProblem).
Why
valuecannot be sent as a token, or undefined when it can. A token is a value GENESIS compares as a code: an object code (name), aselection, an area, a year, a date, a regional or classifying variable or key. The rules apply to the value with surrounding whitespace trimmed, as it is sent (normalizeToken): not blank (and not only invisible characters or combining marks), no lone surrogate, and no control or format character at all (a zero-width space, ZWJ, a soft hyphen, a bidi control), since an invisible character in a code only ever makes it match nothing (GENESIS then answers Status 104, "nothing found"). Inner spaces are allowed (aselectionsearched by content). The reason quotes the value visibly. The value lists (language,category, the criteria,format) are checked against their known values instead (oneOfProblem).