Bill Fenner wrote:
> My xml2rfc configuration uses mostly process commands to convert a
> document from one form to another (sometimes using XSL and sometimes
> using external shell commands); these have all been disabled in xxe
> 3.5.1. One of the conversion methods happened to have been
> implemented as a macro instead of a process.
>
> In order to conform with the spirit of the new split between
> standard/professional editions, should I disable this conversion
> method when it's standard edition?
You are free to do whatever you want.
However, if you keep visible the "Convert" menu items based on XXE's
process commands, the user will be tempted to use them and this will
definitely not work in Standard Edition.
In such case, please use something like this:
---
<menu label="_DocBook" insert="[UnlessStandardEdition]after ##last">
<separator />
<menu label="_Convert Document">
<item label="Convert to _HTML..."
command="docb.convertToHTML" />
<item label="Convert to HTML [_one page]..."
command="docb.convertToHTML1"
parameter='"/book toc /article toc" 1' />
<item label="Convert to HTML [one page, _no TOC]..."
command="docb.convertToHTML1" parameter='" " 0' />
...
</menu>
</menu>
---
([UnlessStandardEdition] is not documented.)
> If the answer to the above is "no", is it permissible to reimplement
> the conversion processes that used an external program in Java?
>
> I would not try to use the XSL engine in the java since it's clear
> that is part of the new differentiation between Standard and
> Professional.
Once again feel free to do whatever you want.
There is no problem using the XSL engine in Java[tm] (TrAX API) and/or
using external programs. I don't see anything in the Standard Edition
license which prevents you from doing that.
>
> (I haven't seriously overhauled the configuration since I started it
> with xxe 2.8, and perhaps the better path is to start it from scratch
> with a fresh copy of the 3.5.1 developer documentation)
>
You should at least recompile your add-on from time to time. The API of
XXE is now pretty stable and you should have no bad surprises.