Changes between Version 7 and Version 8 of YAMLColonInFlowContext
- 03/26/10 09:44:03 (4 years ago)
v7 v8 48 48 It would make sense to require ': ' when parsing a value - if you see a:b when parsing a value, you should treat that as the string "a:b". When parsing a key-value in a mapping, it should be possible to allow either url:http://pyyaml.org/ (no space) or url: http://pyyaml.org/ as you know from context that you're expecting a : to terminate a key. Of course, colons in keys are pathological and should not be tolerated ;-) 49 49 50 Solution #1 does not conform with [http://yaml.org/spec/1.1/#id857181 YAML 1.1] and [http://www.yaml.org/spec/1.2/spec.html#id2759963 YAML 1.2]. YAML 1.2 does not enforce space after ':' only if the value is in quotes. 50 Solution #1 s.