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

List:       xmlbeans-dev
Subject:    [jira] [Commented] (XMLBEANS-487) Entity replacement in wrong place when expansion coincides with bu
From:       Jesper_Steen_Møller_(JIRA) <xmlbeans-dev () xml ! apache ! org>
Date:       2012-09-06 17:33:07
Message-ID: 577016448.45427.1346952787710.JavaMail.jiratomcat () arcas
[Download RAW message or body]


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


Jesper Steen Møller commented on XMLBEANS-487:
----------------------------------------------

I tried on version 2.4, 2.5 and 2.6, all are affected.
                
> Entity replacement in wrong place when expansion coincides with buffer growth
> -----------------------------------------------------------------------------
> 
> Key: XMLBEANS-487
> URL: https://issues.apache.org/jira/browse/XMLBEANS-487
> Project: XMLBeans
> Issue Type: Bug
> Components: XmlObject
> Affects Versions: Version 2.6
> Reporter: Jesper Steen Møller
> Attachments: TestEntityNearBufferGrowth.java
> 
> 
> When serializing an object to XML using newReader(), some of the entity \
> replacements for '&' appear in the wrong places, giving invalid XML. Example:
> <a q='aaaaaaaaaaaaaaaaa'><t>Hall &amp; Oates</t></a>
> could be serialized as:
> <a q='aaaaaaaa&amp;aaaaaaaa'><t>Hall & Oates</t></a>
> The bug depends on the sequence of the read()-calls, the size of the requested \
> buffer, and the content. We're using the newReader to feed a Xalan transformation, \
> and in some tens of millions different transformations, this has happened just a \
> few times -- but this time, we've isolated the problem, which is attached as a \
> stand-alone test case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
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