After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 78662 - xsltproc not generating valid URLs
xsltproc not generating valid URLs
Status: VERIFIED FIXED
Product: libxslt
Classification: Platform
Component: general
1.0.15
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
Daniel Veillard
Depends on:
Blocks:
 
 
Reported: 2002-04-14 14:52 UTC by Stefan Seefeld
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefan Seefeld 2002-04-14 14:52:19 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>
---
Comment 2 Daniel Veillard 2002-04-15 19:08:39 UTC
This should be fixed by upgrading to libxml2-2.4.20,

 thanks,

Daniel
Comment 3 Vasily Chekalkin 2003-03-24 16:49:30 UTC
Bug is not fixed really. You forget about attribute "action" in tag
"form".
Comment 4 Vasily Chekalkin 2003-03-25 13:18:43 UTC
And <a name="some string"> too.
Comment 5 Daniel Veillard 2003-03-27 14:08:07 UTC
Okay about <form action="..."> but not okay for <a name="...">
the later is not an URI Reference !
The first is fixed in CVS.

Daniel
Comment 6 Daniel Veillard 2003-04-01 14:52:58 UTC
  This should be closed by release of libxml2-2.5.6 and
libxslt-1.0.29,

    thanks,

Daniel