Changes between Version 6 and Version 7 of YAMLColonInFlowContext
- Timestamp:
- 03/26/10 09:31:30 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
YAMLColonInFlowContext
v6 v7 47 47 }}} 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 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.
