Re: Guideline 1 in The evaluation techniques document

> At 04:22 PM 6/24/99 -0400, Nir Dagan wrote:
> >Generally null is not white space but the specs say that leading and
> >trailing white space in CDATA attribute values can be egnored by user
> >agents. E.g., "myval" may be treated as " myval "
> 
> In addition, http://www.w3.org/TR/REC-html40/types.html#h-6.2 states that
> 
> "Authors should not declare attribute values with leading or trailing white
> space. "
> 
> Seems to me that rules out " " or am I reading this wrong?  It looks like "
> " has both leading and trailing white space in fact.

Note that an XML engine will pass whitespaces on *if the declared
value is CDATA*.  See Section 3.3.3 of the XML spec.

Received on Monday, 28 June 1999 07:54:56 UTC