Message5777

Author amak
Recipients amak, fdb
Date 2010-05-25.18:17:28
SpamBayes Score 0.46869406
Marked as misclassified No
Message-id <1274811449.61.0.695153251009.issue1614@psf.upfronthosting.co.za>
In-reply-to
Content
Whether or not adjacent text nodes are added together depends on
whether or not the DOM has been "normalized".

http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-normalize

I can't find any reference for whether a DOM should be auto-normalized
when first loaded. If it should be automatically normalized, then
jython is defective here.

If the DOM should not be auto-normalized, then carrying out a
normalize() operation on the DOM will certainly ensure that adjacent
text nodes should be grouped together. If jython does not return the
expected results after a normalize() operation, then it is definitely
defective.

Please can you try the normalize() operation on the DOM, and see if that solves the problem?

Meantime, I will try to ascertain if the DOM should be auto-normalized.
History
Date User Action Args
2010-05-25 18:17:29amaksetmessageid: <1274811449.61.0.695153251009.issue1614@psf.upfronthosting.co.za>
2010-05-25 18:17:29amaksetrecipients: + amak, fdb
2010-05-25 18:17:29amaklinkissue1614 messages
2010-05-25 18:17:28amakcreate