Re: HTML Parser problem

Not speaking authoratively, I think this is badly formed HTML; all '<' 
and '>' tags should be represented as "&lt;" and "&gt;" respectively.
Howard Cole
www.selestial.com

Shashank Kavishwar wrote:

> Well, the ‘<’ character can appear in HTML in no reference to a tag. 
> For e.g. I recently saw a signature as:
>
><')))><
>
>Name
>
>Title
>
>Company
>
>Direct Line
>
>Mobile
>
>e-mail:
>
>web site
>
> 
>
> Shouldn’t the ‘<’ character, if its not an HTML tag be kept as it is 
> while parsing? Basically, I think the presence of a ‘<’ character in 
> the HTML which is not part of a tag, should not break the parse 
> function to skip the rest of the HTML after the ‘<’ character.
>
> The Perl HTML::Parser has the capability to do this, and will parse 
> the HTML correctly.
>
>
> _FrontBridge introduces Message Archive and Secure Email. Get leading 
> Enterprise Message Security services from FrontBridge._
> www.frontbridge.com <http://www.frontbridge.com> 

Received on Friday, 11 March 2005 14:05:43 UTC