You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2006/10/31 04:26:17 UTC
[jira] Resolved: (XALANJ-2316) WriterToUTF8Buffered.write(String s)
fail with big strings
[ http://issues.apache.org/jira/browse/XALANJ-2316?page=all ]
Brian Minchau resolved XALANJ-2316.
-----------------------------------
Fix Version/s: Latest Development Code
Resolution: Fixed
Hi Kevin, I applied your revised patch j2316, it is very small, only 4 lines of code change.
However, please sign an ICLA (individual contributor license agreement) which you will find
at http://www.apache.org/licenses/
Just sign a good old paper copy and mail it in. (Check with your manager or company before
you do that). With a signed ICLA Apache can more easily accept donations of bug fixes or larger code changes.
Enrico, the same applies for you too.
( I don't like this legal paperwork, but Apache needs to protect itself )
> WriterToUTF8Buffered.write(String s) fail with big strings
> ----------------------------------------------------------
>
> Key: XALANJ-2316
> URL: http://issues.apache.org/jira/browse/XALANJ-2316
> Project: XalanJ2
> Issue Type: Bug
> Components: Serialization
> Affects Versions: 2.7
> Reporter: Enrico Scoda
> Fix For: Latest Development Code
>
> Attachments: j2316.patch, WriterToUTF8Buffered.java
>
>
> Try to write an attribute with a value of 50000 characters.
> You will get this exception:
> java.lang.ArrayIndexOutOfBoundsException
> at java.lang.System.arraycopy(Native Method)
> at java.lang.String.getChars(String.java:726)
> at org.apache.xml.serializer.WriterToUTF8Buffered.write(WriterToUTF8Buffered.java:347)
> at org.apache.xml.serializer.ToHTMLStream.writeAttrString(ToHTMLStream.java:1431)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org