Tracker: Publishers RFE

5 Restricted poetry markup - ID: 3560737
Last Update: Comment added ( nicg )

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.


Nic Gibson ( nicg ) - 2012-08-22 10:25:12 PDT

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )

Date: 2012-08-22 10:32:05 PDT
Sender: nicg

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)+
}


Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
summary Extended poetry markup 2012-08-22 10:32:05 PDT nicg