An active-branch list is a list of names, trimmed and lower-cased
The rule
Normative: this is the rule
- A source's active-branch list is a list of strings.
- A bare string is one branch name taken verbatim and is never split on commas or any other separator.
- Entries that are not strings are dropped.
- Surviving entries are trimmed of surrounding whitespace and lower-cased, which is the form BR-1 compares a port name against.
What it means
A bare string is not a shorthand for several names — it is one name, taken
exactly as written, commas included. Splitting it would corrupt the
legitimate case: a branch genuinely named a, b is one port, and splitting
its name on the comma produces two names that match no port at all. Only a
list has several entries; a string never does.
Example
"a, B ,c"["a, b ,c"]A list entry that is not a string is dropped rather than turned into one:
["keep", 5, null, ""]["keep"]Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0-draft · BR-3 · changed in spec 1.0