You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mime4j-dev@james.apache.org by "Oleg Kalnichevski (JIRA)" <mi...@james.apache.org> on 2011/04/06 21:30:05 UTC
[jira] [Assigned] (MIME4J-180) exception expected when mime part
has no end boundary and parsing is strict
[ https://issues.apache.org/jira/browse/MIME4J-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski reassigned MIME4J-180:
----------------------------------------
Assignee: Oleg Kalnichevski
> exception expected when mime part has no end boundary and parsing is strict
> ---------------------------------------------------------------------------
>
> Key: MIME4J-180
> URL: https://issues.apache.org/jira/browse/MIME4J-180
> Project: JAMES Mime4j
> Issue Type: Improvement
> Affects Versions: 0.6
> Reporter: Rohan Hart
> Assignee: Oleg Kalnichevski
> Priority: Minor
> Fix For: 0.7
>
> Attachments: TuncTest.java
>
>
> It would simplify my code if, when parsing strictly, the body text stream provided by a mime part would throw an exception, eg., EOFException, when the part has no end boundary. This seems semantically more correct.
> The current behaviour means that I can't just pass the stream but have to wrap it in a proxy which knows about the real stream, the original mime parser and the sequence of events which lead to a check for the end of boundary.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira