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

Re: attribute value escaping (was Re: disable escaping in co

Subject: Re: attribute value escaping (was Re: disable escaping in copy)
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 8 Jun 2000 18:30:57 -0600 (MDT)
html attribute values escaping
Scott Boag wrote:
> We are trying to follow
> http://www.w3.org/TR/xslt#section-HTML-Output-Method where it says "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."

URIs are required to contain only a certain subset of ASCII characters.
ASCII characters are characters in the 20-7F range.

Section B.2.1 of the HTML Rec says what a user-agent should do if it
encounters a URI that contains illegal characters, such as ISO 8859-1
characters in the A0-FF range. The recommendation is to change the URI by
escaping the UTF-8 form of the non-ASCII characters, so it will be legal.

" and ' are ASCII characters and should not be subjected to this
treatment.

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/


 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.