Re: Agree: empty P, container PP [Was: Hot Metal and HTML ] "Daniel W. Connolly" <email@example.com>
Date: Wed, 15 Jun 94 13:33:25 EDT
From: "Daniel W. Connolly" <firstname.lastname@example.org>
To: Multiple recipients of list <email@example.com>
Subject: Re: Agree: empty P, container PP [Was: Hot Metal and HTML ]
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
X-Comment: HTML Implementation Group
In message <firstname.lastname@example.org.COM>, Murray Maloney writes:
>Second, I'd like to respond to the assertion that
>"the SGML tag implication algorithm is not strong enough"
>to deduce opening tags. That's not quite accurate.
>In fact, I have been toying with this all morning
>and through my lunch hour.
>Also, %flow; would have to be modified so that instead
>of allowing (%text | %block ), it would allow ( P, (%block)*)
Short version: Been there. Done that. No workie.
It conflicts with several of my test cases. The trivial example is
At first you might think that this is equivalent to:
But you can't omit start tags of empty elements:
>From ISO 8879-1986, 184.108.40.206 Start-tag Omission:
The start-tag can be omitted if the element is a contextually
required element and if any other elements that could occur
are contextually optional elements, except if:
a) the element type has a required attribute or declared content, or
b) the content of the instance of the element is empty