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: Special characters turn out as garbage in xslt->html conversi on


Kay Michael wrote:
> I think the <a name=""> attribute should also be escaped this way even
> though its value is not a URI, this is a minor omission from the XSLT spec.

Why? Is it because a URI fragment might look like "#ma%C3%B1nana" and you
want there to be an anchor name that looks the same? That wouldn't work
because if you have <a name="ma%C3%B1nana">...</a>, you would have to use
a URI ending in "#ma%25C3%25B1nana" to link to it. The URI is decoded
before it is compared to the anchor name.. changing this would require a
change to the HTML spec, not just XSLT, no?

   - 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]