OASIS DocBook TC2

 View Only
  • 1.  refentry in sect1

    Posted 03-11-2019 19:08
    I'm following up on my action item to look into issue #112 in which refentry is allowed inside section, but not sect1. My research shows that refentry is not allowed in any of the sect1-sect5 sections. The content model of section in RNC syntax is: element section { db.section.attlist, db.section.info, db.navigation.components*, db.recursive.blocks.or.sections?, db.navigation.components* } where: db.recursive.blocks.or.sections = (db.all.blocks+, db.recursive.sections?) db.recursive.sections db.recursive.sections = ((db.section+, db.simplesect*) db.simplesect+) db.refentry+ But the content model for sect1 is: element sect1 { db.sect1.attlist, db.sect1.info, db.navigation.components*, ((db.all.blocks+, db.sect1.sections?) db.sect1.sections)?, db.navigation.components* } where: db.sect1.sections = (db.sect2+, db.simplesect*) db.simplesect+ and similar for sect2, sect3, etc. So these content models need to be amended to include refentry in a manner similar to the way the section element handles it. Note that refentry is not freely intermixed with other section types as legalsection will be, which will be more like simplesect. We can do this refentry change at the same time we change sections to include legalsection for 5.2. -- Bob Stayton Sagehill Enterprises bobs@sagehill.net