Re: Limiting the size of the @charset byte sequence

* Simon Sapin wrote:
>On 28/01/2014 10:31, Bjoern Hoehrmann wrote:
>> Arbitrary limits are bad design and often harder to implement correctly
>> than something without arbitrary limits. The obvious parsing device for
>> something like the `@charset` rule is a DFA, and a DFA that halts after
>> N input bytes is a lot more complex than one that does not.
>
>I disagree.
>
>A DFA may be the first theoretical construct that comes to mind, and 
>limiting the input length may difficult to express strictly as a DFA. 
>But there is no such constraint when writing actual code.

I addressed this in the sentence right after where you cut the quote.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Wednesday, 29 January 2014 22:52:38 UTC