> I have thus added an automatic defragmentation method to the XUpdate
Will this automatically apply to plain DOM manipulations as well, or is it
only implemented up in the XUpdate layer?
Piotr Kaminski (piotr@...)
It's the heart afraid of breaking that never learns to dance.
From: Wolfgang Meier <sbhati@we...> - 2004-06-24 17:58:08
> Will this automatically apply to plain DOM manipulations as well, or is it
> only implemented up in the XUpdate layer?
No, defragmentation is triggered by method Modification.checkFragmentation,
which is called after the XUpdate has been processed. But you can simply copy
the code there and apply it to your document:
if(doc.getSplitCount() > broker.getFragmentationLimit())
Get latest updates about Open Source Projects, Conferences and News.