RE: [Htmlparser-developer] CompositeTagScanner - Some comments
Brought to you by:
derrickoswald
From: <dha...@or...> - 2003-05-12 08:49:46
|
Hi, What I am saying is my understanding of the scanner. Do forgive me if I don't understand it correctly. The MATCH_IDS array is used to "match" the tags that should be parsed by this scanner as tags of particular types. i.e. for a OPTION scanner the MATCH_IDS tag would have OPTION as its member. This tells the scanning engine that whenever OPTION is encountered create an instance of a OptionTag. At the same time it has SELECT as a member of the ENDERS array. This means that whenever the end tag of SELECT i.e. </SELECT> is encountered, correction to close OPTION tag should take place. A STARTERS array would be useful to tell the scanner that when a particular start tag(say another OPTION tag in this case), as opposed to a end tag denoted by ENDERS, is encountered also perform end tag correction. I hope I've been able to explain the need more clearly. Regards, Dhaval Udani Senior Analyst M-Line, QPEG OrbiTech Solutions Ltd. +91-22-28290019 Extn. 1457 -----Original Message----- From: somik [mailto:so...@ya...] Sent: Saturday, May 10, 2003 8:13 PM To: htmlparser-developer Cc: somik Subject: Re: [Htmlparser-developer] CompositeTagScanner - Some comments Dhaval Udani wrote: > The concept of MATCH_IDS and ENDERS array is great. A STARTERS array could also > be useful in the correction procedure. If any tag from this array is > encountered automatic correction could be done to end the previous tag. STARTERS is actually what MATCH_IDS is for. Why do you want a seperate STARTERS array ? Regards, Somik ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Htmlparser-developer mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlparser-developer |