Angelo Immediata wrote:
Hi.
My site is a service oriented portal; i have several application developed by
using cocoon and integrated under the cocoon-portal block.
Every application is a page (a named-item in the portal-user-anonymous.xml).
Moreover i have a double navigator.
I attach to this mail all my profiles directory in order you can see the
structure (it's a .rar file, you need winrar in order to decompress it).
My question, now, is... why to convert layout into object and not to use SAX in
order to read the xml files?.
I haven't looked at your files yet, but to answer the question - The
portal needs to access the layout on each and every request. I'm pretty
sure that parsing the files every time would be even worse than what you
are experiencing. I'm not too familar with the internals of Castor, but
I'd bet that it uses SAX to read the xml files.
Ralph
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]