Hi,

thanks for your explanations. I don't get this error anymore now.

But now I have another problem. In our old version I had the folder named "src" 
where I found multiple java-files. I can't see this "src" folder in the new 
version. Isn't it needed any longer or how can I add this folder to my XML-Mind?
In this folder there where special java-files contained that we need for our 
customization (MultiPick and MultiPrompt).

Thanks,
Monika

________________________________
Von: Hussein Shafie <huss...@xmlmind.com>
Gesendet: Montag, 23. August 2021 16:23
An: Madlik, Monika (LNG-VIE) <monika.mad...@lexisnexis.at>
Cc: xmleditor-support@xmlmind.com <xmleditor-support@xmlmind.com>
Betreff: Re: [XXE] Problem with invocation of command TableEditCommand

[[[My answer assumes that you have customized the DocBook v4+
configuration for XXE v3.6.]]]


On 8/23/21 15:37, Madlik, Monika (LNG-VIE) wrote:
>
> we currently use a very old version of XML-Mind (3.6) and want to switch
> now to Version xxe-pro-9_5_1. I've already installed this version on my
> computer and switched all the old configuration files (css-files and
> xxe-files ...) to the newer version and did some adaptions.
>
> But when I open a specific file I get the message that command
> "docb.tableEdit" could not be invoked.
> com/xmlmind/xmleditapp/tableedit/TableEditCommand could not be found.
> I then had a look at the folders and didn't find the folders
> src\com\xmlmind\xmleditapp\tableedit\TableEditCommand.java
>
> How can I handle this problem?

You must port your customizations from v3.6 to v9. How to do this, *the*
*recommended*, *easiest*, *most* *reliable*, *way*, is documented here:

"XMLmind XML Editor - Configuration and Deployment, 5. Customizing an
existing configuration"
https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.xmlmind.com%2Fxmleditor%2F_distrib%2Fdoc%2Fconfigure%2Fcustomizing.html&amp;data=04%7C01%7CMonika.Madlik%40lexisnexis.at%7C9cc7e70b70724fb8d14408d966419ea5%7C9274ee3f94254109a27f9fb15c10675d%7C0%7C0%7C637653254290930342%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=8NKmuVsEgwR26OE50X8wVo1zZYvQ1xHHQLz%2BaQmEho4%3D&amp;reserved=0




> Is there anything I have to install too
> or how can I use these files we had in the old version and are now missing?
>
No, everything you need is found in the stock distribution.

For example, XXE_INSTALL_DIR/9xxe/addon/config/docbook/docbook.xxe contains:
---
   <command name="docb.tableEdit">
     <class>com.xmlmind.xmleditext.docbook.DBTableEdit</class>
   </command>
---

Once again, the best way to cope with this is to forget how you did it
in v3.6 and take a fresh start by creating and populating a new
"0docbook.xxe" file containing:
---
<?xml version='1.0' encoding='UTF-8'?>
<configuration name="DocBook" mimeType="application/docbook+xml"
   icon="xxe-config:common/mime_types/docbook.png" extensions="dbk"
   
xmlns="https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.xmlmind.com%2Fxmleditor%2Fschema%2Fconfiguration&amp;data=04%7C01%7CMonika.Madlik%40lexisnexis.at%7C9cc7e70b70724fb8d14408d966419ea5%7C9274ee3f94254109a27f9fb15c10675d%7C0%7C0%7C637653254290940303%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=XRxZCcS%2FSQW7zQhNyFrGtpdv6j%2B9%2FV1mohCD4lqTZkU%3D&amp;reserved=0";
   
xmlns:cfg="https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.xmlmind.com%2Fxmleditor%2Fschema%2Fconfiguration&amp;data=04%7C01%7CMonika.Madlik%40lexisnexis.at%7C9cc7e70b70724fb8d14408d966419ea5%7C9274ee3f94254109a27f9fb15c10675d%7C0%7C0%7C637653254290940303%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=XRxZCcS%2FSQW7zQhNyFrGtpdv6j%2B9%2FV1mohCD4lqTZkU%3D&amp;reserved=0";>

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

</configuration>
---
(copied from
https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.xmlmind.com%2Fxmleditor%2F_distrib%2Fdoc%2Fconfigure%2Fcustomizing.html&amp;data=04%7C01%7CMonika.Madlik%40lexisnexis.at%7C9cc7e70b70724fb8d14408d966419ea5%7C9274ee3f94254109a27f9fb15c10675d%7C0%7C0%7C637653254290940303%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=TNdxId813V%2FjTEeyp3QQaQ73ujYaa1MyFOyaRusVg2M%3D&amp;reserved=0)

Notice that by including "docbook-config:docbook.xxe", that is, the
stock DocBook v4+ configuration, commands such as "docb.tableEdit" are
automatically declared for you. Nothing to search. Nothing to declare.
Everything is right there at your disposal.




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

Reply via email to