Hi Francesco, On 03/04/11 15:46, francesco wrote: > or isn't it better to keep from > throwing an error upon such non-fatal problem as a wrong date format?
I think this depends on the coder's attitude to bad inputs. There was some discussion about this sort of thing on another topic a few months back and I think liblas went for the strict approach + suggesting a utility for cleaning up your input files. Personally I prefer the strict approach, but either point of view is valid :) There was also talk of a strict mode flag, but I can't remember what happened with that. Cheers, Mike. -------------------------------------------------------------------------------- Plymouth Marine Laboratory Registered Office: Prospect Place The Hoe Plymouth PL1 3DH Website: www.pml.ac.uk Click here for PML Annual Review 2010 Registered Charity No. 1091222 PML is a company limited by guarantee registered in England & Wales company number 4178503 Please think before you print -------------------------------------------------------------------------------- This e-mail, its content and any file attachments are confidential. If you have received this e-mail in error please do not copy, disclose it to any third party or use the contents or attachments in any way. Please notify the sender by replying to this e-mail or e-mail [email protected] and then delete the email without making any copies or using it in any other way. The content of this message may contain personal views which are not the views of Plymouth Marine Laboratory unless specifically stated. You are reminded that e-mail communications are not secure and may contain viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage which may be caused by viruses. -------------------------------------------------------------------------------- _______________________________________________ Liblas-devel mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/liblas-devel
