[ 
https://issues.apache.org/jira/browse/XMLBEANS-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019888#comment-13019888
 ] 

Wolfgang Rether commented on XMLBEANS-428:
------------------------------------------

The problem is in the PiccoloLexer used by XMLBeans... see here: 
http://sourceforge.net/tracker/?func=detail&aid=1469766&group_id=48384&atid=452912

> 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
>         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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to