W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2003

Re: isWhitespaceInElementContent method

From: Philippe Le Hegaret <plh@w3.org>
Date: 05 Aug 2003 16:59:54 -0400
To: Curt Arnold <carnold@houston.rr.com>
Cc: WWW DOM <www-dom@w3.org>
Message-Id: <1060117193.8014.25.camel@jfouffa.w3.org>

On Fri, 2003-08-01 at 00:29, Curt Arnold wrote:
> This would be more appropriate as an read-only attribute.

It has been the case in the past, until someone realized that the Java
binding contained the following method:

boolean getWhitespaceInElementContent()

In the Java beans world, boolean attributes are mapped to setX() and
isX(), instead of of setX() and getX().

>   The 
> description is insufficient since it doesn't explicitly explain under 
> what conditions the implementation is able and required to determine 
> that the content model only contains elements.

The description says:
[[
The text node is determined to contain whitespace in element content
during the load of the document or if validation occurs while using
Document.normalizeDocument().
]]

isn't that sufficient?

Philippe
Received on Tuesday, 5 August 2003 17:00:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:57 GMT