[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: What is %26 doing in my HTML?

Subject: Re: What is %26 doing in my HTML?
From: Mike Brown <mike@xxxxxxxx>
Date: Tue, 4 Jun 2002 13:22:29 -0600 (MDT)
Re:  What is %26 doing in my HTML?
Zack Brown wrote:
> I'm seeing my '&amp;'s translated into '%26' when producing HTML output.

Bug in xsltproc.

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.