Sjur Moshagen wrote: > I've found that an existing config broke when updating to XXE 3.0p1, > due to a change in the code for XHTML tables. I assume this is based on > the following new feature/improvement:
True. >> Technical information: >> >> Made support for HTML4 forms, HTML4 tables and CALS tables much >> easier to reuse in document types other than XHTML and DocBook. How >> to do this is now documented in XMLmind XML Editor - Configuration >> and Deployment. > > The old code in my config was: > >> <command name="forrest.tableColumn"> >> <class>com.xmlmind.xmleditapp.xhtml.TableColumn</class> >> </command> >> <command name="forrest.tableRow"> >> <class>com.xmlmind.xmleditapp.xhtml.TableRow</class> >> </command> > > To make it work, it requires: > >> <command name="forrest.tableColumn"> >> <class>com.xmlmind.xmleditapp.xhtml.table.TableColumn</class> >> </command> >> <command name="forrest.tableRow"> >> <class>com.xmlmind.xmleditapp.xhtml.table.TableRow</class> >> </command> ^^^^^^^ > > This is unfortunate, as it forces the config to be delivered in two > versions - one for pre-3.0p1 versions, and one for 3.0p1 and later. > > Along the same lines (although not as serious) is the new CSS code that > should be included (according to http://www.xmlmind.com/ > xmleditor/_distrib/doc/configure/configure.pdf, Chapter 4): > >> @import url(xxe-config:xhtml/css/xhtml_table.imp); > > Since this file does not exist in earlier versions of XXE, the import > will fail, and XXE give an error message. As far as I know, there's no > way of making a conditional import in CSS (in an effort to make the > updated config backwards compatible). > > Is there any way to make both these points backwards compatible? Unfortunately, I don't see how this could be done. > If not, at least the change should be listed under the incompatibility > section, and it should also be pointed out in the documentation > referenced above that the setup will not work with earlier versions of > XXE. Sorry we forgot to do that. We'll try not to forget that next time.

