[
https://issues.apache.org/jira/browse/MIME4J-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118175#comment-13118175
]
Stefano Bagnara commented on MIME4J-203:
----------------------------------------
I don't agree with the anaysis.
RFC2822 says that everything after the ":" is part of the body. It doesn't say
anywhere that an initial FWS is not part of the body.
Instead in "3.3. Date and Time Specification" we can see:
---
date-time = [ day-of-week "," ] date FWS time [CFWS]
day-of-week = ([FWS] day-name) / obs-day-of-week
----
So you see a starting FWS is part of day-of-week, and so is part of the body.
If the datetime field parser does not support this then it is a bug in the
datetime parser, not in the RawField.
(PS: Also obs-day-of-week allows CFWS at the beginning)
> RawField parsing problem in case of '\t' delimiter
> --------------------------------------------------
>
> Key: MIME4J-203
> URL: https://issues.apache.org/jira/browse/MIME4J-203
> Project: JAMES Mime4j
> Issue Type: Bug
> Components: dom
> Affects Versions: 0.7
> Environment: linux 3.0.1, x86_64
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
> Reporter: Kostya Gribov
> Fix For: 0.7.1
>
> Attachments: patch
>
>
> RawField doesn't drop '\t' char between field header and body, so body starts
> from LWSP-char that should be ignored by RFC822 (see 3.4.2 in spec) because
> date field is structured. So date isn't extracted.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira