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

List:       xmlbeans-dev
Subject:    [jira] [Commented] (XMLBEANS-471) toString() and xmlText() break
From:       "Sweta Dhanuka (Commented) (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2011-12-19 18:21:30
Message-ID: 2147344576.27222.1324318890555.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/XMLBEANS-471?page=com.atlassian.jira.plugi \
n.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 &amp; \
>                 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 \
>                 &amp;
> - 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: 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