#9 Restricted poetry markup

open
nobody
None
5
2014-08-26
2012-08-22
Nic Gibson
No

This is a placeholder for DocBook Publishers vX where X is a schema based on DocBook 6 as this is an incompatible change.

The content model for poetry is currently far too open. It is hard to see how the allowing tables and lists within poetry can be beneficial. I would like to propose that the linegroup element be restricted as:

db.linegroup =
element linegroup {
db.linegroup.attlist, db.speaker*, db.line+
}

This may be *too* restrictive but we have used similar in poetry markup at Penguin for some years.

Discussion

  • Nic Gibson

    Nic Gibson - 2012-08-22
    • summary: Extended poetry markup --> Restricted poetry markup
     
  • Nic Gibson

    Nic Gibson - 2012-08-22

    Correction to the proposed model. Linegroups should be recursive to allow the handling of poetry which uses cantos and stanzas (The Divine Comedy, for example)

    db.linegroup =
    element linegroup {
    db.linegroup.attlist, db.speaker*, (db.linegroup | db.line)+
    }

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks