Re: attribute value escaping (was Re: disable escaping in copy)

Subject: Re: attribute value escaping (was Re: disable escaping in copy)
From: Scott_Boag@xxxxxxxxx
Date: Thu, 8 Jun 2000 19:07:21 -0400
> I'm not convinced that Xalan is making a good
> decision here, because section 2.4.2 says

We are trying to follow 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

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, 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=""; version
     <xsl:output method="html"/>
     <xsl:template match="/"><html><img>

I get:

So I'm not sure what's going on.


 XSL-List info and archive:

Current Thread