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

Bug#642833: Hmm, config-edit can be improved



> I was always under the impression that order of fields within a single 
> paragraph doesn't matter in Debian control files.

Correct. But if you add "Extra fields", you may end up in trouble.

Consider the following (admitedly contrived) copyright paragraph:

Files: this license applies to any of them
License: GPL-1+
 GPL-1+ yada yada

Is it:
- a "Files" paragraph with a License field ?
- a "License" paragraph with an extra "Files" field ?

As a human, I have an idea. But I don't know how a parser can resolve such 
ambuguity.

Since DEP-5 does not forbid this kind of ambiguity, DEP-5 parser can be 
improved to be more tolerant, but it cannot be bullet-proof.

All the best

Dominique
--
http://config-model.wiki.sourceforge.net/ -o- http://search.cpan.org/~ddumont/
http://www.ohloh.net/accounts/ddumont     -o- http://ddumont.wordpress.com/




Reply to: