Subject: Re: [xsl] NullPointerException|
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Wed, 22 May 2002 11:16:38 +0200
You can't use "<" within attribute value, see xml spec, that should be escaped, e.g.:
You are right! FOP NullPointerException errors are extremely unhelpful. I did try to create the xml page using the command line parser. This time it complained about that the xml file not being well-formed, even though the .fo file is. Not sure how that can happen. If I would remove the code below then every thing is fine. Does it make any sense to you?
<xsl:template match="node()"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:if test="contains(. ,'<sub>')">
-- Oleg Tkachenko Multiconn International, Israel