Brett Leber wrote: > I ran into this same problem in v3.7.1 of XXE when editing a DB5 book: I > had a 'title' followed by and 'info' element, which triggered lenient > mode (although I don't recall this happening in earlier versions of XXE). > > Your workaround (see last paragraph of your message) works for me. > > Hope this is resolved, both in the DB5 schema and XXE, in the near > future so new users don't get stuck.
Thanks for your feedback. The two element templates below have been added to the stock configuration for DocBook 5. >> >> The solution is to add to docbook5.xxe these templates for the info >> element: >> >> --- >> <elementTemplate name="title" selectable="override"> >> <info xmlns="http://docbook.org/ns/docbook"> >> <title></title> >> <author><personname></personname></author> >> <pubdate></pubdate> >> </info> >> </elementTemplate> >> >> <elementTemplate name="no_title" selectable="override"> >> <info xmlns="http://docbook.org/ns/docbook"> >> <author><personname></personname></author> >> <pubdate></pubdate> >> </info> >> </elementTemplate> >> --- >> Now, when a title element (of a book, but also of a chapter or a section) is not sufficient, you can replace it with an info (having a title)or insert an info (having no title) after it. >> >> This works 100% intuitively for chapter/title and section/title, but not for >> book/title because book has a truly ambiguous overall content model (a book >> can have no title at all! Probably a mistake in the RELAX NG schema). >> >> For book/title, select the title and replace it by info(title). The other >> option, Insert info(no_title) after the title is still considered to be >> ambiguous by XMLmind XML Editor, so don't use it.

