On Feb 1, 2005, at 11:08, Martin Duerst wrote:
+1 with the minor nit that lone line breaks should be considered spaces--not disregarded. Thus: Software displaying this text SHOULD remove white-space at the beginning and end; and treat sequences of one or more XML white-space characters as a single space.
Except that that's completely inadequate for some Asian languages (Chinese, Japanese, Thai,...). Point to a spec developed by experts if you need to rather than trying to reinvent the wheel.
I used http://www.w3.org/TR/2004/REC-xml-20040204/#AVNormalize and the default white-space behavior of browsers as the precedent.
Could you please point to a spec that is developed by experts and does not reinvent the wheel? Also, I would appreciate a pointer to a document explaining the issues with Chinese, Japanese and Thai. I don't think what I wrote above in any way precludes soft line breaks for display at places that do not have adjacent XML white-space.
(All this would be so much easier if XML used linefeeds and tabs for pretty-printing and those could always be dropped and spaces were always meaningful content. Too late to change it though.)
-- Henri Sivonen [EMAIL PROTECTED] http://iki.fi/hsivonen/
