gdome_xml_str_isEmpty() is showing incorrect behaviour

View: New views
2 Messages — Rating Filter:   Alert me  

gdome_xml_str_isEmpty() is showing incorrect behaviour

by Rabi_huawei :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am testing GDOME while doing the same i came across an anamoly in the above function. When i pass an GdomeDOMString object containing an empty string it shows that the string is not empty and vice versa.

Any clarification regarding the same will be appreciated.

Regards
 Rabi

Re: gdome_xml_str_isEmpty() is showing incorrect behaviour

by Luca Padovani-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 23, 2007, at 6:26 AM, Rabi_huawei wrote:
> I am testing GDOME while doing the same i came across an anamoly in  
> the above
> function. When i pass an GdomeDOMString object containing an empty  
> string it
> shows that the string is not empty and vice versa.

you're right, the return values of this function appear to be  
swapped. I guess nobody has ever noticed this before because this is  
a non standard method which is not described in the DOM specification  
and is used nowhere (within the library).

I have committed the patch.

Thanks,
--luca



_______________________________________________
gdome mailing list
gdome@...
http://mail.gnome.org/mailman/listinfo/gdome