Re: validating chunks of HTML

2003-02-03 Thread ed-london
Paul wrote: > I'm trying to decide on the best way of checking small fragments of HTML > for well-formedness, i.e. catching overlapping tags, missing end tags, > etc. Nothing fancy, just an aid when inputting HTML in a form. If you haven't seen it already you might want to take a look at HTML::Lin

Re: validating chunks of HTML

2003-02-03 Thread robin szemeti
On Sunday 02 February 2003 23:36, Paul Makepeace wrote: > E.g., something that could be fed a lump of text and then return an > error with some kind of indication where the parser barfed. I'm not too > familiar with the parsers out there to know which would do this best. > The HTML:: don't actuall

Re: validating chunks of HTML

2003-02-03 Thread Leon Brocard
Paul Makepeace sent the following bits through the ether: > I'm trying to decide on the best way of checking small fragments of HTML > for well-formedness, i.e. catching overlapping tags, missing end tags, > etc. Nothing fancy, just an aid when inputting HTML in a form. Would HTML::Lint help? htt

Re: validating chunks of HTML

2003-02-02 Thread robin szemeti
On Sunday 02 February 2003 23:36, Paul Makepeace wrote: > I'm trying to decide on the best way of checking small fragments of HTML > for well-formedness, i.e. catching overlapping tags, missing end tags, > etc. Nothing fancy, just an aid when inputting HTML in a form. I've been using the some code

Re: validating chunks of HTML

2003-02-02 Thread Ian Brayshaw
On Sun, 2003-02-02 at 23:36, Paul Makepeace wrote: > I'm trying to decide on the best way of checking small fragments of HTML > for well-formedness, i.e. catching overlapping tags, missing end tags, > etc. Nothing fancy, just an aid when inputting HTML in a form. > > E.g., something that could be

validating chunks of HTML

2003-02-02 Thread Paul Makepeace
I'm trying to decide on the best way of checking small fragments of HTML for well-formedness, i.e. catching overlapping tags, missing end tags, etc. Nothing fancy, just an aid when inputting HTML in a form. E.g., something that could be fed a lump of text and then return an error with some kind of