GNOME Bugzilla – Bug 68751
empty literal generates incorrect output???
Last modified: 2009-08-15 18:40:50 UTC
In the below example, I would expect the output (both Sablot and MSXSL return this) <IMG a=""> Instead libxslt returns: (version info below) <IMG a> --------------------------------------------- <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <IMG a=""/> </xsl:template> </xsl:stylesheet> ------------------ version info Using libxml 20412, libxslt 10009 and libexslt 702 xsltproc was compiled against libxml 20412, libxslt 10009 and libexslt 702 libxslt 10009 was compiled against libxml 20412 libexslt 702 was compiled against libxml 20412
right, that a bug. Fixed in CVS now: http://cvs.gnome.org/bonsai/cvsquery.cgi?module=libxslt&branch=HEAD&branchtype=match&dir=libxslt&file=&filetype=match&who=veillard&whotype=match&sortby=Date&hours=&date=explicit&mindate=01%2F15%2F02+06%3A01&maxdate=01%2F15%2F02+06%3A03&cvsroot=%2Fcvs%2Fgnome thanks a lot ! Daniel
This should be fixed in libxml2-2.4.15/libxslt-1.0.12 thanks, Daniel