Re: [xsl] What is %26 doing in my HTML?

Subject: Re: [xsl] What is %26 doing in my HTML?
From: Zack Brown <zbrown@xxxxxxxxxxxxxxx>
Date: Tue, 4 Jun 2002 14:55:20 -0700
On Tue, Jun 04, 2002 at 01:22:29PM -0600, Mike Brown wrote:
> Zack Brown wrote:
> > I'm seeing my '&amp;'s translated into '%26' when producing HTML output.
> 
> Bug in xsltproc.

Great.

Any recommendations for an xslt processor that:

* is freely available for Linux
* is at least as fast as xsltproc
* allows multiple xslt variables to be set from the command line
?

Many thanks,
Zack

> 
> Probably also indicative of a very poor decision made by some XSLT processor
> vendors early on. Inspired by this clause in the XSLT spec..
> 
>   The html output method should escape non-ASCII characters in URI attribute 
>   values using the method recommended in Section B.2.1 of the HTML 4.0 
>   Recommendation.
> 
> ...they thought it would be nice to apply %-escaping to certain ASCII 
> characters (like '&') as well. Of course this presumes that you didn't know 
> what you were doing when you assembled the URI, and makes it impossible to
> properly serialize a URI that needs to contain reserved characters which 
> maintain their special meaning.
> 
>    - Mike
> ____________________________________________________________________________
>   mike j. brown                   |  xml/xslt: http://skew.org/xml/
>   denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

-- 
Zack Brown

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread