On May 8, 2005, at 09:38, Martin Duerst wrote:
Why would you put line breaks in the CJK source, then? Isn't the "problem" solved with the least heuristics by the producer not putting breaks there?
People in China, Japan, and so on (Korean uses spaces, so it's not CJK) tend to use similar tools to those in the western world. Tools for editing XML, e.g., usually don't make it easy to edit very long lines because they assume that such long lines can be broken. So it's not as easy as it looks for the producer.
If the XML editing tools are broken, they should be fixed instead of requiring consumers to perform context-sensitive DWIM. Besides, Atom feeds are typically produced programmatically instead of editing manually, so I think the point about editors is moot. The content in Atom feeds may be manually edited, but putting stray line feeds in XHTML is not safe, so producers need to take care of not including stray line feeds anyway.
-- Henri Sivonen [EMAIL PROTECTED] http://hsivonen.iki.fi/