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: Q.) Encode URL inside HTML Anchor Tag.


Jeni Tennison wrote:
> Is Saxon just following the instructions for the HTML output method 
> [...]
> Or does it go beyond this?

Yes, SAXON goes beyond this. SAXON escapes characters in the ASCII range
that are reserved in URIs. e.g., the space character becomes %20. This is
only fine if you don't already have a URI, which by definition is properly
escaped already.

The section you referenced only refers to non-ASCII characters (i.e.,
€ and higher) and I don't believe that automatically escaping these
upon output is in any way problematic.

   - 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

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