From: John Cowan (cowan@mercury.ccil.org)
Date: Tue Aug 12 2003 - 23:31:42 EDT
Peter Kirk scripsit:
> Philippe or anyone else, would it be "XML-safe" to use NBSP rather than
> SP as the base character for spacing diacritics in XML? Perhaps that's
> the answer here. I know there are still some issues of detail concerning
> the line breaking, but apart from that is there any other problem?
NBSP is not usable in attribute values other than those of type CDATA,
but it is usable in character content. XML does not consider it whitespace
(the only whitespace characters are LF, SPACE, TAB and marginally CR.
IMHO, it is best practice not to use anything in attribute values,
certainly non-CDATA attribute values, that is in any way intended to
handle fully general text: attribute values should be protocol strings.
-- John Cowan <jcowan@reutershealth.com> http://www.reutershealth.com http://www.ccil.org/~cowan Yakka foob mog. Grug pubbawup zink wattoom gazork. Chumble spuzz. -- Calvin, giving Newton's First Law "in his own words"
This archive was generated by hypermail 2.1.5 : Wed Aug 13 2003 - 00:05:25 EDT