[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deadlocks





Ann Tecklenburg wrote:

> > When using the DOM
> > retrieved from the ozone DB this will change the db content too!
> >
> Change? What get gets changed?

The persistent document in Ozone can be changed,
b/c Cocoon can remove his own PI's, and in DCP case it can add new Nodes
to the document. But all this will not be applicable to Cocoon 2 b/c 2
reasons:

1. PI's will not be using to drive Cocoon processing, instead will be
used SiteMap mechanism

2. Cocoon 2 will be SAX-based, so we loose some benefit to working
directly with PDOM, but there another benefits like:
a) PDOM document will not be modified by Cocoon, b/c it will work with
SAX-events and not with original PDOM document
b) It's difficult to send DOM trees between client and server, but it's
easy with SAX-events ...