#184 Limited callouts number

Java extensions
open
nobody
XSL (122)
5
2012-08-27
2012-08-27
hindin
No

Hi, Docbook team

I have run into a problem in xalan XSl extension in version 1.77.1: in the file docbook-xsl-xalan-1.00/src/com/nwalsh/xalan/Verbatim.java there is a bug in maintaining callouts aray: when the number of lines marked with area tages exceeds 10, ArrayIndexOutOfBound exception is thrown. I am submitting the fix that replaces Callout's arat with Vector.

Regards,
Joseph Hindin

Discussion

  • hindin
    hindin
    2012-08-27

    Verbatim.java with fix for callout collection - Vector instead of array

     
    Attachments
  • hindin
    hindin
    2012-08-27

    Test case with number of lines with callouts > 10

     
    Attachments