[Nfd-dev] config file process section
Alex Afanasyev
alexander.afanasyev at ucla.edu
Tue Mar 11 22:45:28 PDT 2014
I would agree here with Junxiao. We already made a decision before to treat unknown section as an error, and we should keep the consistency in implementation.
For now, we can add a dummy processor for generic section. Actually, word 'general', 'generic', or something else would be better than 'process'
---
Alex
On Mar 11, 2014, at 10:39 PM, Junxiao Shi <shijunxiao at email.arizona.edu> wrote:
> Dear folks
>
> I disagree. Nobody reads warnings.
>
> An unknown section/field usually means there's a token is misspelled.
> Continue processing leads to undesired behavior.
>
> Yours, Junxiao
>
> On Tue, Mar 11, 2014 at 10:16 PM, Davide Pesavento <davidepesa at gmail.com> wrote:
>
> For better forward and backward compatibility, I think we should just
> print a warning, not throw an exception, upon encountering unknown
> config sections or fields.
>
> --
> Davide
>
> _______________________________________________
> Nfd-dev mailing list
> Nfd-dev at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20140311/29e3a562/attachment.html>
More information about the Nfd-dev
mailing list