Kazó Csaba <[EMAIL PROTECTED]> writes:
I'm trying to get a generator to work with a DOM Node that I pass it from
flowscript.
The method seems to be described at
http://cocoon.apache.org/2.1/861.daisy.html -
basically I do cocoon.sendPage("page",{input:dom}) in my script
and src="xmodule:flow-attr:input" in my generator...
[...]
Now, this doesn't work. The exception says "The object type: class
java.lang.String
could not be serialized to XML:".
[...]
I've been trying to figure this out for several months.
I don't understand why some cases of xmodule:flow-attr
work and others don't.
I created a working test case that demonstrates 5 variations
on the theme of passing document objects from flowscript
to the sitemap. I don't know enough about what's going
on to say there is a bug in xmodule:flow-attr but something is
definitely beyond my understanding and it doesn't seem to
operate the way the examples suggest.
The brief example is here:
http://www.csparks.com/xmodulePuzzle.txt
Thanks to all for any insights,
-Hugh Sparks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]