[prev in list] [next in list] [prev in thread] [next in thread]
List: xml-cocoon-cvs
Subject: XSPPage.java
From: "Alain Tixier" <alain.tixier () laposte ! net>
Date: 2000-06-21 6:46:11
[Download RAW message or body]
Hi,
In a preceding mail, Ricardo wrote:
> I just checked the commit logs and I see XSPPage.java was fixed 2 months
> ago. I'm inlining a working example I just tested on my machine (see
> below).
>
> <xsp:expr>NodeExpression</xsp:expr> works in all cases, whether you
> choose
> to use a logicsheet, embed a single method call or write a long sequence
> of Java statements.
This doen't work when NodeExpression is a "DocumentFragment"; we get a
"DOM005 Wrong document error". In the past (Cocoon.1.7.2 and before), it
was possible to use a DocumentFragment in <xsp:expr>.
In this particular case, it seems that XSPPage.java should return the node
content thru "importNode" rather than "XSPUtil.cloneNode" (or cloneNode()
should be extended to support DocumentFragment).
Alain Tixier
alain.tixier@laposte.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic