[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: Re: [jira] [Created] (XMLBEANS-471) toString() and xmlText() break
From: Jerry Sy <jerry.sy () oracle ! com>
Date: 2011-12-07 22:03:33
Message-ID: 4EDFE2B5.6070400 () oracle ! com
[Download RAW message or body]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#3333ff">
can you include the java program and the xml you are testing?<br>
did you try with xbeans trunk build? there is a fix in Saver class
that may be related to this.<br>
<br>
On 12/7/2011 1:58 PM, Sweta Dhanuka (Created) (JIRA) wrote:
<blockquote
cite="mid:2084720670.51074.1323295120069.JavaMail.tomcat@hel.zones.apache.org"
type="cite">
<pre wrap="">toString() and xmlText() break when "<\" appears at specific \
position with a &amp; in the value of the tag.
-----------------------------------------------------------------------------------------------------------
Key: XMLBEANS-471
URL: <a class="moz-txt-link-freetext" \
href="https://issues.apache.org/jira/browse/XMLBEANS-471">https://issues.apache.org/jira/browse/XMLBEANS-471</a>
Project: XMLBeans
Issue Type: Bug
Components: XmlObject
Environment: Windows, Unix, JAVA.
Reporter: Sweta Dhanuka
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: <a \
class="moz-txt-link-freetext" \
href="https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa">https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa</a>
For more information on JIRA, see: <a class="moz-txt-link-freetext" \
href="http://www.atlassian.com/software/jira">http://www.atlassian.com/software/jira</a>
---------------------------------------------------------------------
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" \
href="mailto:dev-unsubscribe@xmlbeans.apache.org">dev-unsubscribe@xmlbeans.apache.org</a>
For additional commands, e-mail: <a class="moz-txt-link-abbreviated" \
href="mailto:dev-help@xmlbeans.apache.org">dev-help@xmlbeans.apache.org</a>
</pre>
</blockquote>
<br>
</body>
</html>
---------------------------------------------------------------------
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