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


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to