Camille Bégnis wrote:
>
> I work for a client having quite large documents in DocBook5, and trying
> to make their life easier with XXE.
>
> The first advice is to display images as frames.
> The second to open chapters instead of the master file having the xincludes.
These are very good advices.
> I wanted to suggest to deactivate transclusion by default, but didn't
> find how to do that?
Commenting out what follows in the docbook5.xxe configuration file
---
<inclusionScheme name="XInclude">
<class>com.xmlmind.xml.xinclude.XIncludeScheme</class>
</inclusionScheme>
---
would deactivate transclusion completely.
There is currently no way to deactivate transclusion by default. Note
that doing so would give you a structurally invalid DocBook 5 document.
>
> Do you have any other suggestion?
I'm sorry but the answer is no.
>
> Also I noticed the memory footprint of the XXE process does not clears
> when documents are closed. I have open a few documents so the Heap
> Memory Usage reported by jconsole raised to 310MB. I closed them all,
> and the memory dropped to 200MB. After 15 minutes without doing
> anything, memory was still at 200MB.
> Doing a manual GC in jconsole lowered it to 180MB.
>
No need to use jconsole for that. "Help|About" automatically performs a
GC before displaying memory usage.
Now concerning the fact that the XXE process does not clears
when documents are closed, we currently don't see what we could do to
improve the situation.
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support