W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > July 2007

Re: HTML Parsing Step?

From: Alex Milowski <alex@milowski.org>
Date: Tue, 3 Jul 2007 08:40:46 -0700
Message-ID: <28d56ece0707030840m7f9e181ax1f5890d7befdac48@mail.gmail.com>
To: public-xml-processing-model-wg@w3.org

On 7/3/07, Norman Walsh <ndw@nwalsh.com> wrote:
> / Alex Milowski <alex@milowski.org> was heard to say:
> | On 7/3/07, Norman Walsh <ndw@nwalsh.com> wrote:
> |> / Alex Milowski <alex@milowski.org> was heard to say:
> |> | At the end of our e-mail discussion in May I suggested we have a separate
> |> | step for parsing HTML.  I still think this is a good idea.  Anyone else?
> |>
> |> So this is the equivalent of "tidy" not the equivalent of "tagsoup",
> |> right?
> |
> | I don't understand this question.
> |
> | Tidy and Tagsoup cleanup HTML.
> You're right. Brain cramp. I was thinking that tidy had knowledge of
> the HTML vocabulary (that img and hr are empty, for example) whereas
> tagsoup just cleaned up not-well-formed XML. But that's not the case.
> So nevermind.

To be clear, I think we want this step to take in HTML and output XHTML.

Tidy can cleanup HTML and produce HTML.

Tagsoup can only produce XHTML.

--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language

Bertrand Russell in a footnote of Principles of Mathematics
Received on Tuesday, 3 July 2007 15:40:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:43 UTC