Problem (short version): I'm trying to modify the changes plugin to support html in the changes description field - but I'm having issues with jelly:xml. Its stripping out whitespace, and screwing up elements embedded in CDATA sections. Has anyone seen this before and know of a workaround?
For the exercise (and to make sure I wasn't going nuts), I rewrote the plugins' changes.jsl in XSLT, and ran it via Ant's style task. It works beautifully... Problem (long version): Currently, the changes plugin doesn't support html in change descriptions, e.g: <action type="update"> Tinkered with foobars.<p/> To construct a foobar: <source><![CDATA[ Hashtable properties = new Hashtable(); ... ]]> </source> </action> Gets transformed to: ... <td>Tinkered with foobars.To construct a foobar:Hastable properties...</td> ... This is because it transforms the text using: <x:expr select="string(.)"/> If the above is changed to: <x:copyOf select="node()" trim="false"/> ..things improve slightly, but all whitespace is lost. Worse still, CDATA sections containing elements aren't processed properly, e.g: <source><![CDATA[ <Connectors> <Connector scheme="rmi"/> </Connections>]]> </source> Becomes: <![CDATA[<Connectors> <Connector scheme="rmi"> </Connector> ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]