Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 98093 invoked from network); 4 Nov 2008 16:53:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Nov 2008 16:53:36 -0000 Received: (qmail 9231 invoked by uid 500); 4 Nov 2008 16:53:42 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 9125 invoked by uid 500); 4 Nov 2008 16:53:42 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 8977 invoked by uid 99); 4 Nov 2008 16:53:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2008 08:53:41 -0800 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2008 16:52:32 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5FEE8234C281 for ; Tue, 4 Nov 2008 08:52:44 -0800 (PST) Message-ID: <618194036.1225817564391.JavaMail.jira@brutus> Date: Tue, 4 Nov 2008 08:52:44 -0800 (PST) From: "Maciej Baranowski (JIRA)" To: abdera-dev@incubator.apache.org Subject: [jira] Issue Comment Edited: (ABDERA-206) Abdera parser fails when InputStream returns data in chunks In-Reply-To: <509656232.1225817444413.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ABDERA-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645000#action_12645000 ] bmaciej edited comment on ABDERA-206 at 11/4/08 8:52 AM: ------------------------------------------------------------------- Test case reproducing the problem. The testSucessWithJDomParser method proves that MyChunkedInputStream works properly when Xerces is used. was (Author: bmaciej): Test case reproducing the problem. The testSucessWithJDomParser proves that MyChunkedInputStream works properly when Xerces is used. > Abdera parser fails when InputStream returns data in chunks > ----------------------------------------------------------- > > Key: ABDERA-206 > URL: https://issues.apache.org/jira/browse/ABDERA-206 > Project: Abdera > Issue Type: Bug > Affects Versions: 0.3.0 > Reporter: Maciej Baranowski > Fix For: 0.3.0 > > Attachments: AbderaParserFailureTest.java, test.xml > > > We noticed that when InputStream passed to Abder parser does not return all data at one read the parser fails: > at java.io.FilterInputStream.read(FilterInputStream.java:111) > at java.io.PushbackInputStream.read(PushbackInputStream.java:161) > at org.apache.abdera.parser.stax.util.PeekAheadInputStream.read(PeekAheadInputStream.java:126) > at org.apache.abdera.parser.stax.util.PeekAheadInputStream.peek(PeekAheadInputStream.java:111) > at org.apache.abdera.parser.stax.util.PeekAheadInputStream.peek(PeekAheadInputStream.java:107) > at org.apache.abdera.parser.stax.util.FOMSniffingInputStream.detectEncoding(FOMSniffingInputStream.java:76) > at org.apache.abdera.parser.stax.util.FOMSniffingInputStream.(FOMSniffingInputStream.java:52) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.