[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#593909: debian-policy: Clarifications about the syntax of Debian control files.



* Russ Allbery <rra@debian.org> [100827 19:27]:
> I'm torn on that bug.  The ideal thing to do there, I think, is to say
> that lines consisting solely of spaces and tabs are a syntax error and are
> not allowed, but parsers may accept them as paragraph separators.  (Be
> conservative in what you generate and liberal in what you accept.)

I'd rather see if it encourages parsers to error out in those cases
(Fail early, fail often). If something accepts them because they cannot
propagate the error properly that is no big problem. But if too many
allow them they will get used and there will definitly be code that has
problems because there is simply no way to test all those different
cases.

	Bernhard R. Link



Reply to: