core-wg / href

Other
2 stars 0 forks source link

ambiguous "otherwise" in path rules #21

Closed thomas-fossati closed 2 years ago

thomas-fossati commented 2 years ago

In §6.1, path rules, we say:

If the CRI reference contains a discard item of value true, the
path component is prefixed by a slash ("/") character.  If it
contains a discard item of value 0 and the path item is present,
the conversion fails.  Otherwise, the path component is prefixed
by as many "../" components as the discard value minus one
indicates.

the "Otherwise" introducing the last sentence is slightly ambiguous.

I suggest using the more explicit "If it contains a discard item of positive value, the path component [...]" instead.