[erlang-questions] Thoughts on EHE - the PHP killer
Ulf Wiger
ulf@REDACTED
Sun Feb 19 08:07:42 CET 2012
Tuncer also pointed out that there is Mats Cronqvist's trane:
https://github.com/massemanet/trane
Which also aims to parse "real-world" HTML. Looks interesting.
BR,
Ulf W
On 18 Feb 2012, at 18:21, Ulf Wiger wrote:
>
> On 18 Feb 2012, at 17:33, Matti Oinas wrote:
>
>> Xmerl could be used to parse these templates if only XHTML would be supported. We could also easily validate these templates for correct markup using XML validators.
>
>
> Like I wrote, there is an unreleased version of xmerl_sax_parser with a 'html' mode, which handles most of the usual HTML badness (i.e. non-well-formed XML).
>
> I would like to suggest that the OTP team release it. It doesn't have to be perfect. When parsing html, there is no such thing as perfect.
>
> There is also the yaws_html module, which I admit that I've never used.
>
> BR,
> Ulf W
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120219/20b211af/attachment.htm>
More information about the erlang-questions
mailing list