[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Issue Comment Edited: (XMLBEANS-428) XmlException
From:       "Volodymyr Bychkoviak (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2010-01-07 1:12:54
Message-ID: 904590650.86551262826774608.JavaMail.jira () brutus ! apache ! org
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/XMLBEANS-428?page=com.atlassian.jira.plugi \
n.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797425#action_12797425 ] 

Volodymyr Bychkoviak edited comment on XMLBEANS-428 at 1/7/10 1:12 AM:
-----------------------------------------------------------------------

attached files to reproduce bug:

test.xsd - schema used to generate xmlbean
testf.xml - parsing of this file fails
tests.xml - parsing of this file is successful

difference between testf.xml and tests.xml is only 1 byte in text data

      was (Author: vbychkoviak):
    test.xsd - schema used to generate xmlbean
testf.xml - parsing of this file fails
tests.xml - parsing of this file is successful

difference between testf.xml and tests.xml is only 1 byte in text data
  
> 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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic