> Torsten Curdt a écrit : > > > > > So here is the correct patch for C2 (C1 patch was correct). I included > > > also a patch for DOMStreamer so that it can stream a DocumentFragment. > > > > Cool!! Just tried it out but didn't work as exspected... > > Shouldn't I be able to call the toSAX()/toDOM() now like this > > > > object > > > > instead of > > > > object.toSAX(contentHandler) > > > > ? > That's the way it works, but only in places of the XSP where produced > elements are allowed. In other places (such as inside ) > it's converted to text using String.valueOf(). > > Have a look at the generated java code to see if it contains > "XSPObjectHelper.xspExpr(contentHandler, object)". Aahh! The xsp:expr was inside a xsp:logic tag... now it works! :) Great job! -- Torsten