GNOME Bugzilla – Bug 78662
xsltproc not generating valid URLs
Last modified: 2009-08-15 18:40:50 UTC
The following snipped should produce correct html, with URLs escaped (space replaced by %20, etc.), but it doesn't. --- <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> <xsl:output method="html" encoding="ISO-8859-1" indent="no"/> <xsl:template match="*"> <a href="a b c"/> </xsl:template> </xsl:stylesheet> ---
Hum, okay, the bug was actually in libxml2. http://cvs.gnome.org/bonsai/cvsquery.cgi?module=gnome-xml&branch=HEAD&branchtype=match&dir=gnome-xml&file=&filetype=match&who=veillard&whotype=match&sortby=Date&hours=&date=explicit&mindate=04%2F14%2F02+17%3A59&maxdate=04%2F14%2F02+18%3A01&cvsroot=%2Fcvs%2Fgnome Integrated in the libxslt testsuite as bugs-83 Daniel
This should be fixed by upgrading to libxml2-2.4.20, thanks, Daniel
Bug is not fixed really. You forget about attribute "action" in tag "form".
And <a name="some string"> too.
Okay about <form action="..."> but not okay for <a name="..."> the later is not an URI Reference ! The first is fixed in CVS. Daniel
This should be closed by release of libxml2-2.5.6 and libxslt-1.0.29, thanks, Daniel