Good day everyone.

Need your help ASAP with solving the issue with comparing NULL values.
I am using xml/xslt for my database. After an upgrade I noticed that
old version of xsltproc treated NULL values (i.e. absent attributes)
as empty strings, while the new one treats them as NULL. Thus, comparsions
like

<xsl:if test="@status != 'deleted'"> ... </xsl:if>

always evaluate to FALSE when @status attribute is absent. My database
maintaining tools rely on this behavior, so quite everything works
wrong now.

Please help, how can I solve this issue? May be there is something
configurable? Or I have to dig every .xsl of my database now to fix
this?

I was using:

Using libxml 20430, libxslt 10012 and libexslt 704
xsltproc was compiled against libxml 20416, libxslt 10012 and libexslt 704
libxslt 10012 was compiled against libxml 20416
libexslt 704 was compiled against libxml 20416

Now I upgraded to

Using libxml 20626, libxslt 10117 and libexslt 813
xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt 813
libxslt 10117 was compiled against libxml 20626
libexslt 813 was compiled against libxml 20626

Thanks for any advice!

-- 
mailto:[EMAIL PROTECTED]

_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
http://mail.gnome.org/mailman/listinfo/xslt

Reply via email to