RE: [Htmlparser-developer] FormScanner (for Kaarle Kaila)
Brought to you by:
derrickoswald
From: <dha...@or...> - 2003-04-03 07:36:07
|
Hi Somik, The SelectTag class has a List of OptionTags underneath it. However the FormTag has a NodeList of InputTags and TextArea tags. I think these 2 should be synchronized for consistency. Can you explain more ? FormTag does have the standard children's list, in addition to which, it has the input tags and textareas. There is redundancy, but its there to provide helpful searches. [Udani, Dhaval H.]=A0 The redundancy is acceptable. It would be useful for searches. My point is different.=A0Input and Textarea are=A0child nodes of Form and are stor= ed as=A0a NodeList. Similarly Option is a child of Select and should be stored as a NodeList instead of List as is at present. =A0 For example, the following is happening: <FORM></FORM> is reproduced as=20 <FORM ACTION=3D""></FORM> It should be correctly reproduced as <FORM></FORM> If this is so, it is definitely wrong. Can you write a testcase for this ? I am a bit surprised, bcos FormTag does not even have a toHtml() - it uses CompositeTag's toHtml(). [Udani, Dhaval H.]=A0 Will do so immediately.=A0 =A0 Regards, Dhaval |