This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Encoding
- To: xsl-list at mulberrytech dot com
- Subject: Re: Encoding
- From: "John E. Simpson" <simpson at polaris dot net>
- Date: Thu, 27 Apr 2000 22:18:25 -0400
- References: <000d01bfb073$0fb7e1e0$0200a8c0@ne.mediaone.net>
- Reply-To: xsl-list at mulberrytech dot com
At 02:09 PM 04/27/2000 -0600, Mike Brown wrote:
>True, the HTML DTDs require that href attribute values be URIs, but URL
>encoding is not trivial. How is the XSLT processor supposed to know
>which reserved characters in a given URI are being used for their reserved
>purpose and which ones need to be escaped?
Indeed. For that matter, how is an XSLT processor to know that an arbitrary
string (attribute value, #PCDATA, whatever) is even a URI to begin with?
The "this is a URI" meaning is not inherent in any XML vocabulary (except,
of course, XHTML). Someday no doubt an XLink-aware XSLT processor will come
along and "know" that any value of an xlink:href attribute must be a URI.
Until then, I think it's a case of caveat author.
================================================================
John E. Simpson | "I want to get a tattoo of myself on
http://www.flixml.org | my entire body, only 2 inches
simpson@polaris.net | taller." (Steven Wright)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list