You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "Maciej Baranowski (JIRA)" <ji...@apache.org> on 2008/11/04 17:52:44 UTC
[jira] Updated: (ABDERA-206) Abdera parser fails when InputStream
returns data in chunks
[ https://issues.apache.org/jira/browse/ABDERA-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maciej Baranowski updated ABDERA-206:
-------------------------------------
Attachment: AbderaParserFailureTest.java
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.<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.