Redundant rule? quoted-str-nf

Seems quoted-str-nf in chunk-ext is now redundant?

-- > chunk-ext      = *( ";" chunk-ext-name [ "=" chunk-ext-val ] )
-- >
-- > chunk-ext-name = token
-- > chunk-ext-val  = token / quoted-str-nf
-- >
-- > quoted-str-nf  = DQUOTE *( qdtext-nf / quoted-pair ) DQUOTE
-- >                ; like quoted-string, but disallowing line folding
-- > qdtext-nf      = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text


-- > quoted-string  = DQUOTE *( qdtext / quoted-pair ) DQUOTE
-- > qdtext         = HTAB / SP /%x21 / %x23-5B / %x5D-7E / obs-text
-- > obs-text       = %x80-FF


chunk-ext could be simplified to:

-- > chunk-ext      = *( ";" chunk-ext-name [ "=" chunk-ext-val ] )
-- >
-- > chunk-ext-name = token
-- > chunk-ext-val  = token / quoted-string


Best Regards

Simon

Received on Friday, 13 December 2013 10:37:41 UTC