From mime4j-dev-return-1131-apmail-james-mime4j-dev-archive=james.apache.org@james.apache.org Mon Nov 01 15:39:36 2010 Return-Path: Delivered-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Received: (qmail 49122 invoked from network); 1 Nov 2010 15:39:35 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Nov 2010 15:39:35 -0000 Received: (qmail 87030 invoked by uid 500); 1 Nov 2010 15:40:07 -0000 Delivered-To: apmail-james-mime4j-dev-archive@james.apache.org Received: (qmail 86980 invoked by uid 500); 1 Nov 2010 15:40:06 -0000 Mailing-List: contact mime4j-dev-help@james.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mime4j-dev@james.apache.org Delivered-To: mailing list mime4j-dev@james.apache.org Received: (qmail 86965 invoked by uid 99); 1 Nov 2010 15:40:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 15:40:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Nov 2010 15:40:05 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA1Fdjoa009631 for ; Mon, 1 Nov 2010 15:39:45 GMT Message-ID: <16537458.174791288625985352.JavaMail.jira@thor> Date: Mon, 1 Nov 2010 11:39:45 -0400 (EDT) From: "Oleg Kalnichevski (JIRA)" To: mime4j-dev@james.apache.org Subject: [jira] Updated: (MIME4J-180) exception expected when mime part has no end boundary and parsing is strict In-Reply-To: <16686991.127391288300640309.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MIME4J-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Kalnichevski updated MIME4J-180: ------------------------------------- Fix Version/s: 0.7 Fair enough. I'll try to come up with a fix in the coming days. Oleg > 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 > 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. - You can reply to this email to add a comment to the issue online.