Lyle wrote:

  + Javascript code which has HTML in strings (very common in DHTML apps)

Does the current parser pick that up? I don't think HTML::Parser executes any JavaScript.

No, I'm saying that your simple regex approach whould change the JS code on the page, which is *not* what people would want.

  + HTML comments?
  + targetting specific forms?

Dealing with HTML requires a parser. Anything else won't make people happy.

I see. But there isn't a Pure Perl parser available, and for those that really can't get HTML::Parser on their cheap shared hosting, isn't a regexp that works most/some of the time better than nothing?

If it were me, the answer would be no. A minor template change could break your application in mysterious ways. I'd rather not have an HTML::FillInForm replacement than one that works sometimes and not others.

--
Michael Peters
Plus Three, LP


#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to