Changes between Version 5 and Version 6 of YAMLColonInFlowContext
- Timestamp:
- 10/09/09 11:02:14 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
YAMLColonInFlowContext
v5 v6 40 40 I would definitely agree for the colon-space solution (it fixes these examples, but not, I suppose, every issue.) 41 41 42 Yet another example: 43 {{{ 44 found unexpected ':' 45 in "<string>", line 1, column 11: 46 urls: [ftp://ftp.cdrom.com/] 47 }}} 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 ;-)
