Yaml 1.2 and non-ascii line breaks
Burt Harris <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <63391FD9067F734E829A283F1BB6893004742DBB@TK5EX14MBXC102.redmond.corp.microsoft.com> |
Yaml 1.2 removed 1.1's the special treatment of three non-ASCII line break characters. I'm updating my code & tests to match. This has broken several unit tests based on examples from the 1.1 specification which included these. That's expected, right? The intent is that a 1.2 compliant implementation should _not_ consider these as line breaks, particularly for the purposes of calculating indentation, right? In example 8.5 of the 1.2 spec, a double down arrow glyph used in the 1.1 spec to represent line separators \x2028 still appears. I'm guessing that's a typo, since when I replace it with a generic line break, I get the expected output. ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Yaml-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/yaml-core