When I installed XXE 2, I tested the new "external entity" functionality,
and it seemed to be working OK, so I modified my doc build routines
accordingly. Today, I noticed that a change in a subdocument wasn't visible
in the master document, and began to check further. It seems either that XXE
has reverted to its earlier behavior (including entity contents on save), or
else that I didn't test it very well in the first place.

Have I inadvertently set an option somewhere? I can't find anything, or any
mention of such an option in the documentation.

A doc with the following structure before editing:
--------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project SYSTEM "../../../../ayuda/ayuda-1.dtd" [
<!ENTITY config SYSTEM "../../../../ayuda/xml/ayuda-cfg.xml">
<!ENTITY local-config SYSTEM "../config.ayu">]>

<project ayuda-version="1" default-topic="t_intro" nav-bar="Yes"
link-list="children" auto-index="Yes">
....
&config;
&local-config;
...
</project>
--------------------------------------------------------------------

is saved after editing as follows:
--------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project SYSTEM "../../../../ayuda/ayuda-1.dtd" [
<!ENTITY config SYSTEM "../../../../ayuda/xml/ayuda-cfg.xml">
<!ENTITY local-config SYSTEM "../config.ayu">]>

<project ayuda-version="1" default-topic="t_intro" nav-bar="Yes"
link-list="children" auto-index="Yes">
....
<config>...</config>

<local-config>....</local-config>

...
</project>
--------------------------------------------------------------------

where <config>...</config> and <local-config>....</local-config> are the
contents of the referenced external entities.

Hope you can help me with this.

Best regards
--------------
Kevin Flynn 
Birdstep Technology www.birdstep.com 
Mobile: +47 93433942


Reply via email to