Adding an add-on is exactly what I want to do. I have read the procedure explained in sub-section 1.1. "The lookup phase during XXE startup" and copied my uri-resolver-catalog.xml in the Application Data\XMLmind\XMLEditor\addon directory as described in step 1.
The problem is still the same when I try to open of my docbook files. Is step 2 compulsory too? If yes, where do you define the XXE_ADDON_PATH variable? It is not very clear. Thanks for your help Vincent -----Message d'origine----- De?: Hussein Shafie [mailto:hussein at xmlmind.com] Envoy??: vendredi 25 mai 2007 14:06 ??: Vincent Quesniaux Cc?: xmleditor-support at xmlmind.com Objet?: Re: [XXE] Problem with Docbook files including declarations of entities Vincent Quesniaux wrote: > > First, thank you very much for your answer. I really appreciate. > > I guess my explanations were not clear enough. > The problem is that the SYSTEM URL that I give in the entity declaration is > fake. It is substituted by a uri-resolver-catalog.xml file - that I call via > an ANT target - which rewrites it in a correct URI. > Therefore I get an Error dialog box in XMLmind which says "Server returned > HTTP response code: 503 for URL: > http://doc.solsoft.com/dtd/customization-guide-variables.ent > > Example: > <!-- Resolve DTD URL system ID to local file --> > <rewriteSystem > systemIdStartString="http://doc.solsoft.com/dtd/" > rewritePrefix="E:/svn/fusion/doc/variables/" /> I think it should be "file:///E:/svn/fusion/doc/variables/". > Note: the entity files (e.g. customization-guide-variables.ent) are stored > in the doc/variables directory. > > I really need to call these external entities since our user guides contain > a lot of variables which are specific to my company (for all branding > information etc.). In the docbook source document these entities are > inserted like that: &entity-name; > > I was wondering if it would be possible to call the uri-resolver-catalog.xml > in XMLmind so as to avoid the URL problem. In principle, the answer is yes. Simply add a file called ZZZatalog.xml, where ZZZ is anything you want, to one of two the addon/ directories scanned by XXE during its startup. This startup step is described here: "Dynamic discovery of add-ons" http://www.xmlmind.com/xmleditor/_distrib/doc/configure/addon_discovery.html XML catalogs are described in this sub-section: http://www.xmlmind.com/xmleditor/_distrib/doc/configure/addon_types.html > I have read the HTML documentation that you indicated. The Include Tool > seems very interesting. Great, because anyhow, XXE flattens text entities.

