[jdom-interest] setIgnoringElementContentWhitespace inoperant ?

Ken Roberts ken at 9ci.com
Thu Dec 9 11:48:50 PST 2004


On Thu, 2004-12-09 at 13:05, Elliotte Harold wrote:

> Ken Roberts wrote:
> 
> 
> > I thought that was why this would be an option rather than default 
> > behavior?  If you might be reading such a thing then this property would 
> > not be set, but if you have no such constraints and want dense output it 
> > would be a desirable feature.
> 
> No. The purpose of this is to eliminate boundary white space that is 
> inserted for purposes of indentation. It is not to change existing white 
> space in the text content of a document. That is a separate and 
> logically distinct operation. The appearance of insignificant boundary 
> white space is normally a document wide characteristic. the significance 
> of white space in text is normally determinable only on an element by 
> element basis. For instance in XHTML, it's not very important within a p 
> element, but it is important within a pre element.


OK, point taken.  You're right, I have a tendency to have blinders on
sometimes.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20041209/7959591b/attachment.htm


More information about the jdom-interest mailing list