Re: [Treesoft-treefam] API problem with malformed or fake trees
Brought to you by:
lh3lh3
From: Sebastien M. <Seb...@un...> - 2008-10-22 08:06:57
|
> Hi Sebastien, > > The current behaviour is to die on bad trees. I think this is the safest > procedure as not doing so would allow further processing of bad trees. > This would generate errors difficult to trace both in other parts of the > API and in any code using the API. > However, the error message could be more explicit and report on the > family AC and type of tree causing the error. Would you also have the > message say 'bad tree' instead of 'unrecognized format' ? > > J-K Yes it is safer to die on bad trees. The 'bad tree' message would be more consistent with the web site message. Thanks Sébastien > On Tue, 2008-10-21 at 12:15 +0200, Sebastien MORETTI wrote: >> Hi, >> >> the API should return the same thing than the web site for 'Bad Tree' >> like TF352160. >> >> It should be clearer for users. >> >> What do you think about it ? -- Sébastien Moretti |