I'm trying to get XXE catalog support to work for and have more or less
succeeded but have one minor problem:
All my documents include a reference to an external entity which has
<local-config> as its root element. The document the entity refers to does
not have a fixed name or location, so the entity declaration uses a "SYSTEM"
relative URL.
In order to be able to edit the <local-config> document on its own, I have
defined an XXE config file containing entries to associate it with a DTD and
CSS file:
<configuration
xsi:schemaLocation="http://www.xmlmind.com/xmleditor/schema/configuration
../configuration/xsd/configuration.xsd"
name="Ayuda Config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration">
<detect>
<and>
<rootElementLocalName>local-config</rootElementLocalName>
<fileNameExtension>ayu</fileNameExtension>
</and>
</detect>
<dtd publicId="-//Birdstep//DTD Ayuda XML V1.0//EN"/>
<css name="Ayuda" location="../../css/ayuda-cfg.css" />
</configuration>
This seems to work fine if I open the document directly in XXE. However, if
I select the <local-config> element in a referencing document and then
select Edit -> Document Reference, the "Edit Referenced Document" option is
disabled. In my old set up, where all entity and DTD references were defined
using "SYSTEM" relative URLs, this option worked.
I hope I have explained this well enough. Do you have any advice?
Regards,
Kevin Flynn
Birdstep Technology ASA
Oslo, Norway
+47 93433942
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20050503/40745645/attachment.htm