John L. Clark wrote:
> When using an @extension rule in a CSS stylesheet file for a DocBook
> configuration, the default table formatting (rowspans and the like,
> implemented as a Java extension as well) no longer works.  It would
> appear that loading one extension somehow interferes with others that
> have been previously loaded.
> 
> Is there something that I need to do to allow multiple @extensions to
> play nicely together?

Multiple @extensions are not supported (because of the invoke facility
-- see
http://www.xmlmind.com/xmleditor/_distrib/doc/dev/ar01s08.html#d0e3945).

The last one found while parsing a CSS style sheet wins.

In order to solve your problem, the simplest thing to do is to derive
your extension from the existing one. That is:

---
import com.xmlmind.xmledit.styledview.StyledViewFactory;
import com.xmlmind.xmleditapp.docbook.TableSupport;

public class MyExtension extends TableSupport {
    public MyExtension(String[] args,
                       StyledViewFactory styledViewFactory) {
        super(args, styledViewFactory);
        [...]
    }
}
---

In order to compile something like this, you'll need to add docbook.jar
in your path (in addition to xxe.jar, xxe_app.jar, etc).

Reply via email to