From: Max-Julian P. <max...@po...> - 2021-06-22 16:56:57
Attachments:
OpenPGP_signature
OpenPGP_0x207022447F6D85DB.asc
|
Hi there, In the YAML Specification 1.2 3rd edition (patched 2009-10-01)[*] in "Example 6.1. Indentation Spaces" the right green block shows a start of document marker as "- - -". Other examples only show "---", and section 2.2. Stuctures also only mentions "---". Finally, section 9.1.2 Document Markers allows in its BNF 203 no possibility for a space or spaces between the dashes. > [203] c-directives-end ::= “-” “-” “-” Am i missing something, or should the example 6.1. be updated so that the document start marker is also "---" there? with best regards, Max [*] https://yaml.org/spec/1.2/spec.html |
From: Tina M. <po...@ti...> - 2021-06-22 17:21:24
|
Hi Max, On Tue, 22 Jun 2021, Max-Julian Pogner wrote: > > In the YAML Specification 1.2 3rd edition (patched 2009-10-01)[*] in > "Example 6.1. Indentation Spaces" > the right green block shows a start of document marker as "- - -". Other > examples only show "---", and section 2.2. Stuctures also only mentions > "---". Finally, section 9.1.2 Document Markers allows in its BNF 203 no > possibility for a space or spaces between the dashes. > >> [203] c-directives-end ::= “-” “-” “-” > > > Am i missing something, or should the example 6.1. be updated so that the > document start marker is also "---" there? Thanks, that is a mistake. We are currently working on the spec, getting it into other formats for future versions (mainly Ingy is working on this), and we're not sure if we should touch the original spec (there are actually more mistakes), or publish a 1.2.1 version with fixed typos. cheers, tina |
From: Carsten B. <ca...@tz...> - 2021-06-22 17:55:16
|
It is probably best to publish a short errata sheet for 1.2 and then a 1.2.1 with those fixed. Grüße, Carsten > On 2021-06-22, at 19:08, Tina Müller <po...@ti...> wrote: > > Hi Max, > > On Tue, 22 Jun 2021, Max-Julian Pogner wrote: > >> >> In the YAML Specification 1.2 3rd edition (patched 2009-10-01)[*] in >> "Example 6.1. Indentation Spaces" >> the right green block shows a start of document marker as "- - -". Other examples only show "---", and section 2.2. Stuctures also only mentions "---". Finally, section 9.1.2 Document Markers allows in its BNF 203 no possibility for a space or spaces between the dashes. >> >>> [203] c-directives-end ::= “-” “-” “-” >> >> >> Am i missing something, or should the example 6.1. be updated so that the document start marker is also "---" there? > > Thanks, that is a mistake. > > We are currently working on the spec, getting it into other formats for future > versions (mainly Ingy is working on this), and we're not sure if we > should touch the original spec (there are actually more mistakes), or > publish a 1.2.1 version with fixed typos. > > cheers, > tina_______________________________________________ > Yaml-core mailing list > Yam...@li... > https://lists.sourceforge.net/lists/listinfo/yaml-core |