This is a reasonable argument. In fact, I agree completely.
I'm sure I could augment html-mode.el to do this while it's putting
quotes around attribute values, for example.
The question is: which way is the momentum out there? Will folks
really clean up their stuff? How long will it be before I can
use an SGML parser and a P container with reasonable results
on real stuff out there?
The fact remains that stuff parses as-is with the empty P element.
So if anybody's interested in an immediate informational RFC, that's
the way it's got to be.
Whether there's anything between html.dtd v 1.7.2.4 and HTML+ remains
to be seen.
>> I suggest HTML+ use a new name for this paragraph container element,
>> say PP. When folks mean paragraph separator, they can write <P>. When
>> they mean container, they can write <PP>.
>
>Sorry, but I think that's a terrible idea. It would give us two syntactic
>forms for a single semantic structure -- that of a paragraph -- where only
>one form is necessary.
Again, I'll assert that <P> is a separator and <PP> is a container. Two
different things.
> In addition, a <PP> element would be ignored by ALL
>existing clients whereas using <P> as a container is already accepted by
>most.
So write
<PP>Here's my para<p></pp>
and it'll work everywhere. When <pp> is well established, just
s/<p>//g and be done with it. I guarantee that's a lot easier and
more reliable than the script that changes <p> from a separator
to a container.
Dan
Daniel W. Connolly "We believe in the interconnectedness of all things"
Software Engineer, Hal Software Systems, OLIAS project (512) 834-9962 x5010
<connolly@hal.com> http://www.hal.com/%7Econnolly/index.html