Adam Strzelecki wrote:
>>> 3) Files & paths specified in .xxe/addon/customize.xxe should be 
>>> relative to .xxe/addon/customize.xxe but they're not in all cases, 
>>> <cfg:parameter name="configuration"> is relative to /Applications on 
>>> my Mac and C:\Program Files\XXE\bin on Windows (I think this is a bug)
> Can you confirm this?
> 

This is not a bug.

All relative URLs contained in .xxe/addon/customize.xxe are indeed 
relative to .xxe/addon/customize.xxe.

The problem comes from the fact that the value of <cfg:parameter 
name="XXX"> is always considered to be a *string* and not an URL. That's 
why a relative URL found there is not resolved against the URL of the 
file containing the <cfg:parameter> element.

If the value of a <cfg:parameter> is a file, then you need to specify an 
absolute path...OR, but I'm not 100% sure...Specify something like:

<cfg:parameter name="configuration">%C%Sfop-config.xml</cfg:parameter>

That is, not %H/.xxe/addon/... but %C%Syour_ancillary_config_file.xml

Note that the %C variable probably does not work when the 
<cfg:parameter> is found outside a process command (for obscure, 
implementations reasons). More information in 
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/process_variables.html





Reply via email to