abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James M Snell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ABDERA-206) Abdera parser fails when InputStream returns data in chunks
Date Wed, 06 May 2009 15:53:32 GMT

    [ https://issues.apache.org/jira/browse/ABDERA-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706461#action_12706461
] 

James M Snell commented on ABDERA-206:
--------------------------------------

The fix was checked into trunk and will not be in the current 0.4.0 binaries. Please grab
trunk, build and test.  In my testing, the fix for issue #222 appears to have resolved the
problem

> 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
>            Assignee: James M Snell
>             Fix For: 0.3.0
>
>         Attachments: AbderaParserFailureTest.java, test.xml
>
>
> We noticed that when InputStream passed to Abder parser does not return all data in 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.<init>(FOMSniffingInputStream.java:52)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message