This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: xsl:key problem (probably!)


> This works perfectly fine, when the
> "/STATEMENT_OF_CHANGE/ACCOUNT_VALUES/ACCOUNT_VALUE" node exists.
> If it doesn't XALAN 2.0 throws a NullPointerException (in the
> value-of statement!)
>
> Is this noraml, a bug or is it just me not knowing what do to?
>

A NullPointerException should always be treated as a bug (unless you have
Java code of your own in there, in which case it's still a bug, but it might
be your bug...)

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]