Sebastian, On Thu, 2 Jan 2003, Sebastian Geerken wrote:
Hi!
Before I start digging to the specs, someone may answer me this question faster: Should stripping spaces from attributes done before or after the conversions of entities?
Most probably the first.
E.g., if I have something like
<td align="char" char=" ">
is the value of the "char" attribute " " (one space) or "" (empty)? Dillo does the second, so it is not possible to align characters at spaces.
I think " " should become " " and " " should become "" when taken as simple CDATA (for instance as in %URI), but when the attribute value happens to be a %Character (again CDATA), then " " should be " ". AFAIS, doing the same for " " and "" in CHAR element, is a good workaround. You may like to read sgmltut.html from the HTML-4.01 SPEC (html4/intro/sgmltut.html). At least that's the one I use. Cheers Jorge.-