Re: [Treesoft-devel] [Treesoft-treefam] API problem with malformed or fake trees
Brought to you by:
lh3lh3
From: Jean-Karim H. <jk...@sa...> - 2008-10-22 07:22:34
|
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 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 ? > |