- From: Bethan Tovey-Walsh <bytheway@linguacelta.com>
- Date: Mon, 2 Feb 2026 13:27:25 +0000
- To: Fredrik Öhrström <oehrstroem@gmail.com>
- Cc: ixml <public-ixml@w3.org>
I hate YAML more and more passionately, the more you tell me about its weirdness! Thank you for giving me a new target for the bottomless rage that fills my soul.
So is it correct that you want different behaviour if there is a space after the colon, before the newline? Or should the grammar do the same thing, regardless of whether there is a space before the newline?
BTW
___________________________________________________
Dr. Bethan Tovey-Walsh
linguacelta.com
Golygydd | Editor geirfan.cymru
Croeso i chi ysgrifennu ataf yn y Gymraeg.
> On 2 Feb 2026, at 13:23, Fredrik Öhrström <oehrstroem@gmail.com> wrote:
>
>
> - a:
> (with no space after the colon).
>
> In YAML this means that we are creating a key->object pair in object in the array.
> If the next line is more indented than the character a and you can add properties to this new object.
> - a:
> b: 1
>
> will become [ { "a": { "b":1}} ]
>
> Just
> - a:
> becomes [ { "a": null } ]
>
> I did not include this in the first example, intentionally to ease in the YAML weirdness over time... :-)
>
> //Fredrik
Received on Monday, 2 February 2026 13:27:43 UTC