On Wed, Aug 29, 2012 at 8:17 AM, Shawn H Corey <[email protected]> wrote:
> On Tue, 28 Aug 2012 22:16:20 -0600
> "Sean M. Burke" <[email protected]> wrote:
>
>> But I think we should also hold pod parsers to a high standard of
>> keeping quiet when simple heuristics are unproblematically applied.
>
> I'm not sure about that. One of the reason why there's so much trashy
> HTML out there is because browsers accept it without complaint. I mean,
> look at the problems of parsing this:
>
> =item 1. An Example
>
> When they really meant:
>
> =item 1.
>
> B<An Example>
>
> As the old saying goes: it's the squeaky wheel that gets fixed.

This was a concern before HTML5, but now the trend is to work with the
HTML you have and handle errors, not to force the HTML to be more
strict.

http://en.wikipedia.org/wiki/HTML5#Error_handling

So, even we don't call those documents valid POD, it's OK if we handle
the way they deviate from the spec in a helpful way.

Regards.

>
> --
> Just my 0.00000002 million dollars worth,
>   Shawn
>
> Programming is as much about organization and communication
> as it is about coding.
>
>         _Perl links_
> official site   : http://www.perl.org/
> beginners' help : http://learn.perl.org/faq/beginners.html
> advance help    : http://perlmonks.org/
> documentation   : http://perldoc.perl.org/
> news            : http://perlsphere.net/
> repository      : http://www.cpan.org/
> blog            : http://blogs.perl.org/
> regional groups : http://www.pm.org/



-- 
Will "Coke" Coleda

Reply via email to