[
https://issues.apache.org/jira/browse/XMLBEANS-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172466#comment-13172466
]
Sweta Dhanuka commented on XMLBEANS-471:
----------------------------------------
Thanks Wing, I did mean "</" and not "<\".
> toString() and xmlText() break when "<\" appears at specific position with a
> & in the value of the tag.
> -----------------------------------------------------------------------------------------------------------
>
> Key: XMLBEANS-471
> URL: https://issues.apache.org/jira/browse/XMLBEANS-471
> Project: XMLBeans
> Issue Type: Bug
> Components: XmlObject
> Environment: Windows, Unix, JAVA.
> Reporter: Sweta Dhanuka
> Attachments: Test.xml
>
>
> I am trying to convert a an XMLObject to a String. I tried using both the
> toString() and xmltext() methods. They work fine in most of the cases, but it
> seems they garble up the xml when converting to String when certain
> conditions are met. The conditions are:
> - the closing tag ("<\" ) starts right after the 131072(i.e.,128K) character
> - the text value preceding the "<\" characters has a special character such
> as &
> - there are more than 3 characters between the special character and the
> closing tag.
> If these conditions are met, then the text 3 characters after the special
> character, till teh closing tag "<\" is overlayed at the start of the string..
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]