You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "Andreas Beeker (Jira)" <ji...@apache.org> on 2022/02/11 21:54:00 UTC
[jira] [Resolved] (XMLBEANS-428) XmlException "Unexpected element: CDATA" is thrown when file size is 8k+1byte
[ https://issues.apache.org/jira/browse/XMLBEANS-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Beeker resolved XMLBEANS-428.
-------------------------------------
Fix Version/s: Version 5.1.0
Resolution: Not A Problem
Piccolo is not used anymore.
> XmlException "Unexpected element: CDATA" is thrown when file size is 8k+1byte
> -----------------------------------------------------------------------------
>
> Key: XMLBEANS-428
> URL: https://issues.apache.org/jira/browse/XMLBEANS-428
> Project: XMLBeans
> Issue Type: Bug
> Affects Versions: Version 2.5
> Reporter: Volodymyr Bychkoviak
> Priority: Major
> Fix For: Version 5.1.0
>
> Attachments: test.tgz
>
>
> When xml file is 8193bytes (8k+1) and have CRLF in the end (after closing tag) then exception "Unexpected element: CDATA" is thrown.
> Maybe it is somehow related to 8k buffer used in XMLReaderReader and XMLStreamReader classes
> reproducible on latest svn revision (r884309)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org