Robert R. wrote:
I've upgraded my XMLmind package to the latest version.

I wanted to include my addon myconfig.zip to work with the new program.  I 
unzipped it and added
the resulting directory to the right place in the file system.  In this case 
it's a MacOS so that
place is XMLEditor/Contents/Resources/addon.

End-users are supposed to use "Options|Install Add-ons" to do this. There is even a way to handle local .zip archives. See "Search add-ons in this directory" in http://www.xmlmind.com/xmleditor/_distrib/doc/help/installAddonsOptions.html



Manual install of an add-on is very simple but also surprisingly error prone (unzip in the wrong folder, forget to clear the cache, etc).

The exact procedure is explained here:

How to manually install an add-on - http://www.xmlmind.com/xmleditor/addons.shtml#manual_install

Please follow *every* *step* of it (of course, including the "Important" note) or it will not work at all.

For example, on the Mac the "system" addon/ folder is:

XMLEditor.app/Contents/Resources/xxe/addon/





When I open the application and get the above dialog box.  Indeed there is not 
file
.../addon/config/docbook/docbook_support.incl in the directory.

Looking back at my previous installation, I do in fact find such a file.  So it 
seems that my
addon depends upon the existence of a file which is no longer included in the 
package.  This
looks to be some sort of oversight.


I wrote you what follows a few weeks ago. It seems that either you haven't ported your add-on to the latest XMLmind XML Editor "platform" or you unzipped an old, obsolete, version of your add-on.

This is easy to check. If the unzipped myconfig.xxe does not contain

<include location="docbook-config:docbook.xxe" />

then what you installed is an obsolete add-on.



Another possibility is that you have an obsolete add-on installed elsewhere, for example, in the "user" addon/ folder:

$HOME/Library/Application Support/XMLmind/XMLEditor6/addon/

and XMLmind XML Editor uses it because it didn't not see what you have unzipped (e.g. you forgot to clear the cache).




xmleditor-support@xmlmind.com wrote:
You created your add-on more than two years ago. You cannot expect XMLmind XML Editor to 
remain stable as a "platform" during two years.

You now need to review the implementation of your add-on and "port" it to the latest 
XMLmind XML Editor "platform".



For example, in myconfig.xxe, please replace:

<include location="xxe-config:docbook/docbook_support.incl" />

by:

<include location="docbook-config:docbook.xxe" />

The fact that docbook_support.incl has been suppressed implies that we no longer recommend using 
DocBook 4 as a base for creating custom configurations such as "Boost Book". On the other 
hand, you'll still find a "docbook5-config:docbook5_support.incl".




--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to