Hi,

I am getting an java.lang.ArrayIndexOutOfBoundsException error and am not
sure what's going on.   Here is my xsl:

<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet   version="1.0" xmlns:xsl
="http://www.w3.org/1999/XSL/Transform";>
<xsl:output method="xml"/>
<xsl:template match="DP280">
<font face="arial, times, serif">
<itext author="" title="DDA">
<xsl:if test="DDA_280_NAMEADDR_WINDOW">
      <table columns="1" width="100%" widths="80;20" border="0" cellpadding
="0" cellspacing="0">
      <row>
            <cell horizontalalign="left">
                  <paragraph leading="0.0" size="10" style="bold">

                        Standard Federal Bank N.A.
                  </paragraph>
            </cell>

      </row>
      <row>
            <cell top="true"></cell>
      </row>
      <row>
            <cell horizontalalign="left">
                  <paragraph leading="0.0" size="10">
                        Member FDIC
                  </paragraph>
            </cell>
      </row>
      <row>
            <cell horizontalalign="left">
                  <paragraph leading="10.0" size="10">
                        Member ABN AMRO Group
                  </paragraph>
            </cell>
      </row>
      </table>
</xsl:if>
</itext>
</font>
</xsl:template>
</xsl:stylesheet>

and here is my xml:

<?xml version="1.0"?>
<DP280>
      <DDA_280_NAMEADDR_WINDOW>
            <Occ>next</Occ>
            <BankPhone>Toll-free   (866) 123-4455</BankPhone>
            <Spanish>en espanol  (866) 123-0880</Spanish>
            <Name1>JOHN DOE</Name1>
            <Address1>ADDRESS1</Address1>
            <Address2>173 STREET</Address2>
            <Address3>DETROIT MI  48221-2435</Address3>
      </DDA_280_NAMEADDR_WINDOW>
</DP280>

and here is the error I'm getting:

        java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
        at com.lowagie.text.Table.<init>(Unknown Source)
        at com.lowagie.text.xml.SAXiTextHandler.handleStartingTags(Unknown
Sourc
e)
        at com.lowagie.text.xml.SAXiTextHandler.startElement(Unknown
Source)
        at
com.abnamro.na.cpw.econf.util.ConfirmationUtils$PDFiTextHandler.start
Element(ConfirmationUtils.java:276)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Sour
ce)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at
com.abnamro.na.cpw.econf.util.ConfirmationUtils.writeConfirmation(Con
firmationUtils.java:79)
        at
com.abnamro.na.cpw.econf.ConfirmationProcessor.main(ConfirmationProce
ssor.java:30)

Any ideas?

Thanks,
Albert
---------------------------------------------------------------------------
This message (including any attachments) is confidential and may be
privileged. If you have received it by mistake please notify the sender by
return e-mail and delete this message from your system. Any unauthorised
use or dissemination of this message in whole or in part is strictly
prohibited. Please note that e-mails are susceptible to change.
ABN AMRO Bank N.V. (including its group companies) shall not be liable for
the improper or incomplete transmission of the information contained in
this communication nor for any delay in its receipt or damage to your
system. ABN AMRO Bank N.V. (or its group companies) does not guarantee that
the integrity of this communication has been maintained nor that this
communication is free of viruses, interceptions or interference.
---------------------------------------------------------------------------






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to