Re: isWhitespaceInElementContent method

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 UTC