On 07/04/2012 06:39 PM, Stefan Seefeld wrote:
>
> I just upgraded to xxe 5.3. xxe now reports errors in my configuration
> files (under ~/.xxe5). I used to have .xxe files importing base
> configurations via
>
>     <include location="mathml-config:db5mml/db5mml.xxe"/>
>
> I now see that this file no longer exists, but I'm unsure what to
> replace it with. (I'm authoring DocBook 5 documents that include MathML.)
>
> I tried
>
>     <include location="mathml-config:docbook5/mathml_support.incl"/>
>
> but that generates errors within the imported file:
>
> "file:/usr/local/xmlmind/xxe-pro-5_3_0/addon/mathml_config/docbook5/mathml_support.incl",
> line 29, column 63: invalid element "menu": previous definition of
> "menu" named "" not found
> "file:/usr/local/xmlmind/xxe-pro-5_3_0/addon/mathml_config/docbook5/mathml_support.incl",
> line 43, column 72: invalid element "toolBar": previous definition of
> "toolBar" named "" not found
>
>
> What am I missing ?
>

--> My answer assumes that you have a .xxe custom configuration file 
starting with

---
<configuration name="DocBook v5+" mimeType="application/x-docbook-5+xml"
   icon="xxe-config:common/mime_types/docbook.png"
   xmlns="http://www.xmlmind.com/xmleditor/schema/configuration";
   xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration";
   xmlns:db="http://docbook.org/ns/docbook";
   xmlns:svg="http://www.w3.org/2000/svg";
   xmlns:xi="http://www.w3.org/2001/XInclude";
   xmlns:xlink="http://www.w3.org/1999/xlink";
   xmlns:html="http://www.w3.org/1999/xhtml";>

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

[1] Please remove all references to the MathML configuration from all 
your custom configuration files.

For example, remove:
<include location="mathml-config:db5mml/db5mml.xxe"/>

[2] Please remove all .jar files (if any) related to the MathML 
configuration from your custom configuration folder.

[3] Delete the folder containing the add-on called "MathML support" (if 
you have installed this add-on).

[4] Delete ~/.xxe5/cache/ (required when you manipulate configuration or 
add-on files by hand).

[5] Restart XXE.

Check that your customization of DocBook 5 works OK, but without any 
support of  MathML.

[6] Install the add-on called "MathML support" (normally, using 
"Options|Install Add-ons").

[7] Restart XXE as instructed by XXE after installing add-on called 
"MathML support".

Your customization of DocBook 5 should now support MathML.



--> These changes have been outlined here:

http://www.xmlmind.com/xmleditor/changes.html#v5.2.0
---
...
* Installing the add-on called "MathML support" no longer prevents you 
from customizing the stock DocBook 5 and DITA Topic configurations.

* The add-on called "MathML support" no longer contains proper 
customizations of the stock DocBook 5 and DITA Topic configurations. It 
now uses a different, very simple, mechanism to add MathML support to 
the DocBook 5 and DITA Topic configurations. For example: 
XXE_install_dir/addon/config/dita/topic.xxe contains:

<include location="---mathml-config:dita/mathml_support.incl" />

and XXE_install_dir/addon/config/dita/css/topic.css contains:

@import url(---mathml-config:dita/mathml_support.imp);

The "---" prefix before an URL instructs XXE to silently skip the 
inclusion when the URL cannot be successfully resolved.

More information in XMLmind XML Editor - Support of MathML 2, Appendix 
D: Integrating MathML with document types other than DocBook 5, DITA 
Topic and XHTML 5.
...
---

 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to