Re: Gtk-Xmhtml and lists



Thanks for clarifying all that broken docbook stuff and I hope it gets fixed
--
what about the second area?  Putting bullets on unordered lists?

-Toshio
On Mon, 11 May, 1998 at 03:14:53PM +0100, Koen D'Hondt set free these words:
> I wrote:
> 
> > > > <dt>
> > > >   <dl> ... </dl>
> > > >   <dt>
> > > >     <dl> ... </dl>
> > > >   </dt>
> > > > </dt>
> > > I have to have a look at this. If the toc you're talking about is as you
> > > typed above I need to check a few things. I'll get back to you on this.
> > Okay, I know what's wrong: I'm being too strict. I'm only allowing
> > nested <dl> lists when they occur inside a <dd> while they should also
> > be allowed inside a <dt>. And this is a violation of HTML3.2
> > 
> > I guess I never noticed it myself 'cause I always nest my lists inside
> > the <dd> tag and not in the <dt> tag (which is semantically a bit more
> > correct since <dt> is for a definition term, while <dd> is for the
> > definition description). I'll fix it.
> I should have read HTML3.2 a bit more carefully before making this
> remark. It turns out that XmHTML *is* correct after all. From the DTD:
> 
> <!ELEMENT DT - O  (%text)*>
> <!ELEMENT DD - O  %flow;>
> 
> Which, in common language, means: <dt> may *only* hold text elements,
> while <dd> can hold block elements as well. This is also true for the
> Cougar (HTML4.0) DTD. So the example Mark gave above is still a
> violation and thus the output from DocBook should be considered broken.
> 
> However, I will modify XmHTML so this bad behavior will be allowed when
> XmHTML is not running in strict mode.
> 
> Cheers,
> Koen.
> -- 
> XmHTML author and maintainer
> ripley@xs4all.nl                          http://www.xs4all.nl/~ripley
> 
> 
> -- 
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.

-- 
badger  \"The Difference between today and yesterday is not so much what has
@prtr-13 \ changed between then and now as what I hope to change by tomorrow."
.ucsc.edu  \~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]