[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: Scott_Boag@xxxxxxxxx
Date: Thu, 8 Jun 2000 19:07:21 -0400
html escaping attribute values
> I'm not convinced that Xalan is making a good
> decision here, because section 2.4.2 says

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."

But, this is very problematic.  We took it out for a while, then put it
back in because another user was having problems with it not being in.
Argh!!!  What's a poor XSLT processor coder to do?  I would love to find
the right behavior for this.  I'm certainly not very happy with the current
behavior in Xalan.

> FWIW, http://www.ietf.org/rfc/rfc2396.txt section 2.4.3 says that "`"
> must be escaped as well.

OK, not sure why it's not.

> If Xalan emits closing tags for </img> when there's no text in between,
> that's a bug.

If I do:

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version
="1.0">
     <xsl:output method="html"/>
     <xsl:template match="/"><html><img>
                </img></html></xsl:template>
</xsl:stylesheet>

I get:

<html>
    <img></html> 

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.