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/17 18:12:38 UTC

[jira] Commented: (XALANJ-2316) WriterToUTF8Buffered.write(String s) fail with big strings

    [ http://issues.apache.org/jira/browse/XALANJ-2316?page=comments#action_12442955 ] 
            
Brian Minchau commented on XALANJ-2316:
---------------------------------------

Per the JIRA triage meeting on Oct 16, 2005, Kevin C. (a contributor) agreed to reproduce this problem and check the patch. He is not a committer so ultimately he will get Brian M. to give the official review/approval/application.

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