RE: [Htmlparser-developer] CompositeTagScanner - Some comments
Brought to you by:
derrickoswald
From: <dha...@or...> - 2003-05-15 05:44:59
|
> > Dhaval Udani wrote: > > Yeah i understand that. The problem being that currently > such a situation > > cannot be envisaged. However it may prove beneficial to > other scanner > writers > > if they ever come up with such scenarios. > > That is the classic definition of over-engineering.. Of > course, you are not > bound to not over-engineer, IMHO. :) > Well the situation just came up. Assume a <HEAD> tag which is not closed. It needs to be closed when a <BODY> tag is encountered. Hence BODY would be in the STARTERS array for HEAD. |