From: Clark C . E. <cc...@cl...> - 2002-02-18 16:00:01
|
On Sun, Feb 17, 2002 at 12:05:32PM -0800, Brian Ingerson wrote: | | > Hmm. I thought all trailing whitespace was significant. | | Not on unquoted inline scalars. | | these are necessarily different: | - foo | - 'foo ' | | However whitespace is significant on multiline forms. Any reason why it's _in_sigificant on single-line scalars but significant for multiline forms? Why not just have it significant everwhere. | > I'd report it as content and then don't bother with an error. | | In places where we can get away with it, we need to follow "If you can't see | it, it ain't there". In multilines we can't get away with it unless we want | to start escaping whitespace, which I most definitely do not. In general, I agree. However, since we are making whitespace significant for multiline forms, I don't see the harm in making it significant for single-line forms. Certainly 'foo ' is the best way to write trailing whitespace... Clark -- Clark C. Evans Axista, Inc. http://www.axista.com 800.926.5525 XCOLLA Collaborative Project Management Software |