This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Announce: DocBk XML 3.1.7/XSL Stylesheets V0.18


Norm wrote:

> 2. You can't have the "pernicious mixed content" problem in XML,
> so the content model of entry really sucks. (It's a mixture of
> #PCDATA and both inline and block content; so the DTD can't
> prevent you from saying: 
> 
>   <entry><para>...</para>foo<para>...</para></entry>
> 
> But there's nothing we can do about it, as far as I can see.

Urgh.  Wouldn't it be better to change the table model here.  We
already have "entrytable!" and "entry".  How about splitting "entry"
into <!element entry (#PCDATA|%inline;)+ > (probably the content model
of a para) and <!element entryblock (...)> (sorry, it's not worth
right now to look up the correct entities for the content model) with
the block level elements?

/Jerry

-- 
        You can have it done fast,
        you can have it done cheap,
        and you can have it done well.
        --- But you can only have two of those at once.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]