Re: Large SGML Cleanup - Mailing list pgsql-docs

From Alvaro Herrera
Subject Re: Large SGML Cleanup
Date
Msg-id 1288757512-sup-3380@alvh.no-ip.org
Whole thread Raw
In response to Re: Large SGML Cleanup  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Large SGML Cleanup
List pgsql-docs
Excerpts from Tom Lane's message of mié nov 03 00:15:26 -0300 2010:
> Josh Kupershmidt <schmiddy@gmail.com> writes:
> > This HTML fails validation, as one isn't supposed to be stuffing
> > tables inside <p> nodes. The attached patch fixes all the instances of
> > this I could find, by closing out <para> nodes before beginning lists
> > and tables.
>
> I think this isn't even worth thinking about applying, unless you can
> provide a way to get future cases of that to fail during "make html".
> The chances that it'll stay fixed without such a check are not
> distinguishable from zero.
>
> An alternative that might be more workable is to fix the toolchain
> so that it generates valid HTML from what is evidently perfectly
> acceptable SGML.

Maybe we could have additional commands in the "check" rule to invoke
some HTML validator.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Large SGML Cleanup
Next
From: Josh Kupershmidt
Date:
Subject: Re: Large SGML Cleanup