W3C home > Mailing lists > Public > spec-prod@w3.org > July to September 2001

Re: Lists in paragraphs allowed by XMLspec DTD

From: David Carlisle <davidc@nag.co.uk>
Date: Fri, 31 Aug 2001 09:32:41 +0100
Message-Id: <200108310832.JAA26456@penguin.nag.co.uk>
To: hugo@w3.org
CC: spec-prod@w3.org

> Would that be acceptable to just disallow lists inside paragraphs?

No!!!!

It is a major failing of HTML that it does not allow lists inside
paragraphs, but even so, the fact that xmlspec (like docbook, tei,
latex, and pretty much any other document system) allows lists but HTML
does not does not mean that:


> The problem is that, once you run the XSLT style sheet, invalid HTML
> is generated since an ol element cannot be inside a p element.

It just means that the XSL stylesheet has to be a bit careful in how it
constructs lists and paras. (See for example the stylesheet used for the
mathml spec.)

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
Received on Friday, 31 August 2001 04:33:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:19:11 GMT