From: Oren Ben-K. <or...@be...> - 2004-06-26 16:49:22
|
On Saturday 26 June 2004 18:58, Jason Diamond wrote: > Should there be a line length limit in order to ease the processing of > YAML files in typically buffer-challenged environments like C? > > I would suggest a nice round number like 1024 characters which is so > large that humans will never hit it but still allowing for some wiggle > room for applications that automatically generate YAML. There's a 1024 characters limit for simple keys, to prevent unbound lookahead in parsers. We _could_ replace this by having a 1024 characters line length limit, I suppose, though that is a much more pervasive restriction. > This wouldn't be unheard of: RFC 2822, section 2.1.1 restricts line > lengths in email messages:: > > There are two limits that this standard places on the number of > characters in a line. Each line of characters MUST be no more than > 998 characters, and SHOULD be no more than 78 characters, excluding > the CRLF. Hmmm. I don't have a strong opinion about this either way - Clark, Brian, what do you think? > By the way, how's the new draft coming along? Slowly ;-) Have fun, Oren Ben-Kiki |