This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: URL escaping in HTML output


I've given up trying to work out a behavior for escaping URLs that would
keep all users happy, instead I retreat behind the XSLT 1.0 spec and do
exactly what it says, which is to escape non-ASCII characters (only).

Mike Kay
Software AG

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Joerg
> Pietschmann
> Sent: 09 August 2001 19:29
> To: XSL List
> Subject: [xsl] URL escaping in HTML output
>
>
> Hello All,
> using Saxon 6.4, i have an URL of
>  /foo?rel=bar/baz
> stuffed literally into the generated HTML code. Yes, it is a href
> attribute of an A element. While reading the URI RFCs i got the
> impression that the slash in the query string should have been
> escaped as %2F. Fortunately, none of the browsers or http servers
> i use has complained. Can somebody tell me whether i'm wrong or
> whether it is a bug in the processor?
>
> Thanks
> J.Pietschmann
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]