DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1520>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1520

xsltc has problems escaping special characters





------- Additional Comments From [EMAIL PROTECTED]  2001-11-15 14:34 -------
output32 also fails due to problems with escaping special characters, 
but it has a twist -- the chars are within an html attribute. So 
they should be escaped according to the method sited in Section B.2.1 of 
HTML 4.0 Spec

Running xalan on output32
<HTML>
<Q cite="b%C3%AB.xml"></Q>
</HTML>

Running XSLTC with Xerces Parser on output32
<HTML>
  <Q cite="bë.xml"></Q>
</HTML>

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

  <!-- FileName: OUTP32 -->
  <!-- Document: http://www.w3.org/TR/xslt -->
  <!-- DocVersion: 19991116 -->
  <!-- Section: 16.2 HTML Output Method -->
  <!-- Purpose: ESC of non-ASCII chars in URI attribute
         values using method sited in Section B.2.1 of 
         HTML 4.0 Spec. -->

  <!-- test for SCRIPT handling -->
  <xsl:output method="html"/>

  <xsl:template match="/">
    <HTML>
       <Q cite="b�.xml"/>
    </HTML>
  </xsl:template>

</xsl:stylesheet>

Reply via email to