Stefan Majewski wrote:
> think I will add model.divPart.spoken to macro.paraContent for now.
> Otherwise, it would be nice to make the content of the <seg> dependent
> on whether or not it has an ancestor::u, but that is as far as I can
> see not possible in plain relaxng. Maybe, schematron could be useful
> for this?
A perfect application for schematron indeed.
As you probably discovered, simply adding model.divPart.spoken to
macro.paraContent wont quite do it -- the class model.divPart.spoken has
to be declared with @predefine="true" as well.
All being well, this fix will now appear in the next release of P5, due
later this week.