Samisa Abeysinghe wrote:
Dinesh Premalal wrote:
Hi ,
On 10/20/05, *Samisa Abeysinghe* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
OK I found the answer to 2 below. Guthhtila handles empty tags.
But 1 remains - it does not handle SPACE event.
yes, guththila doesn't handle SPACE event. It ignores all the
whitespaces.
Hmmm, for me, it did not ignore :( It fires a TEXT evend in between
tags, I think it has to fire a SPACE event instead. Please see below:
e.g.
<a> a text</a>
<b>b text</b>
In between </a> and <b> it fires a TEXT event, it has to be a SPACE
event. Any thoughts please.
I added SPACE event handling support to fix the above problem. Thanks to
the info provided by Dinesh on internal parser states.
Thanks,
Samisa...
Thanks,
Samisa...
thanks,
Dinesh
Thanks,
Samisa...
Samisa Abeysinghe wrote:
> Samisa Abeysinghe wrote:
>
>> I have few problems regarding guththila:
>> 1. does it handle SPACE event?
>
>
> Well I asked the wrong question here :( Guththila does not handle
> SPACE event, I want to know why? Any specific reasons?
>
>> 2. Does it handle empty tags? (e.g. <foo/>)
>>
>> I am being lazy here ;) I will start looking in to the code to
figure
>> these out. However would love to here if you've got the answers,
>> saves time :)
>>
>> Thanks,
>> Samisa...
>>
>
>
--
W.Dinesh Premalal
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
http://www.cse.mrt.ac.lk/~premalwd/
<http://www.cse.mrt.ac.lk/%7Epremalwd/>