[whatwg] attribute value normalization

Kornel Lesinski kornel at ideadesigners.com
Thu Jul 21 08:30:07 PDT 2005

On Thu, 21 Jul 2005 14:27:09 +0100, Anne van Kesteren  
<fora at annevankesteren.nl> wrote:

> It should basically not happen at all. It appears that no browser has
> implemented the 'may' from HTML4 and therefore we can now say browsers  
> must not trim.

That conflicts with XML rules:

"If the attribute type is not CDATA, then the XML processor must further  
process the normalized attribute value by discarding any leading and  
trailing space (#x20) characters, and by replacing sequences of space  
(#x20) characters by a single space (#x20) character."

regards, Kornel Lesinski

More information about the whatwg mailing list