Parse RFC 5322 Obsolete Syntax
------------------------------
Key: MIME4J-115
URL: https://issues.apache.org/jira/browse/MIME4J-115
Project: JAMES Mime4j
Issue Type: Improvement
Affects Versions: 0.6
Reporter: Markus Wiederkehr
Fix For: 0.7
RFC 5322 Section 4. Obsolete Syntax: "... Though these syntactic forms MUST NOT
be generated according to the grammar in section 3, they MUST be accepted and
parsed by a conformant receiver."
Here is an example:
obs-orig-date = "Date" *WSP ":" date-time CRLF
The obsolete syntax allows for WSP to appear before the colon. Currently Mime4j
only accepts header fields where the colon immediately follows the field name,
see class AbstractEntity.
There may be more to this issue; the JavaCC generated field parsers also need
to be reviewed, for example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.