Dear Amit,
trying to parser "www.google.com" gives <<Error! URL www.google.com=20
Malformed!>> on linux.
if i give "http://www.google.com, it works.
1. is this behaviour expected?
Yes, this is expected. Previously, the parser used to look for http. =
This would cause problems when the protocol was different - like ftp, or =
something else.. In order to not restrict the protocol, this checking =
has been removed.=20
OTOH, I agree with your observation about throwing exceptions in the =
constructor. I have added that capability now, and its in CVS.
Regards,
Somik
|