Vincent Massol wrote: >> * Modify XWiki’s export to use CDATA instead of xml-encoding the contents. >> This allows to more easily and manually copy content into separate files. > > BTW on a related note, I was wondering if XInclude allows including non-XML > encoded content. I’ve found > https://msdn.microsoft.com/en-us/library/aa302291.aspx#xinc_topic4 which > seems to indicate it’s supported (with parse=text and by using the encoding > attribute too). Sure it does and this is unit-tested! See the xincludeTTest.xml in here http://direct.hoplahup.net/tmp/xwiki-commons-tool-xar-plugin/src/test/resources/org/xwiki/tool/xar/ it is tested to match xincludeTProof.xml. However, it does not do base64 conversion... Hence I've introduced two elements textInclude (does the same, just no namespace fuss) and binaryInclude) includes the attachment converted to base64.
Paul _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

