Hi HolgeR,

The new behavior is correct.  Xalan 1.3 was in error:

   http://www.w3.org/TR/REC-html40/appendix/notes.html#h-B.2.2

Dave



                                                                                       
                                                 
                      Holger Floerke                                                   
                                                 
                      <floerke@doctron         To:      [EMAIL PROTECTED]       
                                                 
                      ic.de>                   cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                            
                                               Subject: XML-Entities in <a href="..."> 
(Xalan-C 1.4)                                    
                      12/10/2002 07:41                                                 
                                                 
                      AM                                                               
                                                 
                      Please respond                                                   
                                                 
                      to xalan-dev                                                     
                                                 
                                                                                       
                                                 



Dear all,

   I played around with Xalan-C 1.4 and found one difference to 1.3.
Entites in generated URLs were not decoded in the output.

Example:
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet
   version="1.0"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

<xsl:output method="html" encoding="iso-8859-1"/>

<xsl:template match="/">
   <a href="&amp;test">test</a>
</xsl:template>

</xsl:stylesheet>

Xalan-C 1.3 says:
<a href="&test">test</a>

Xalan-C 1.4:
<a href="&amp;test">test</a>

Normally I would say 1.4 is doing wrong, but I am not sure... Any other
opinions?

HolgeR

--

holger floerke                     d  o  c  t  r  o  n  i  c
email [EMAIL PROTECTED]         information publishing + retrieval
phone +49 2222 9292 90             http://www.doctronic.de



Reply via email to