OK, so looking at the test branch created by Raphaƫl Jakse, I understand better what happen. It seems you are trying to send a complete document to the listener in a macro converter, so the xwiki/2.1 renderer is a bit lost. I guess we could add some bulletprooding in the xwiki/2.x renderers, but IMO it's irrelevant here: what this macro converter does simply do not make sense from renderer point of view, and it should manipulate the children of that XDOM instead of sending the XDOM as is. |