PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

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

*** shadow/2948 Wed Aug  1 08:32:58 2001
--- shadow/2948.tmp.23668       Wed Aug  1 08:32:58 2001
***************
*** 0 ****
--- 1,79 ----
+ +============================================================================+
+ | xsltc fails conf test output04 on char ents © and È in html      |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2948                        Product: XalanJ2                 |
+ |       Status: NEW                         Version: CurrentCVS              |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: Other                     Component: org.apache.xalan.xsltc  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                     |
+ |  Reported By: [EMAIL PROTECTED]                                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ xsltc has trouble with two of the character entitites, but not with the others. 
+ That's strange.
+ 
+ Expected Output
+ ===============
+ <HTML>
+ <P>@</P>
+ <P>&nbsp;</P>
+ <P>~</P>
+ <P>&copy;</P>
+ <P>&Egrave;</P>
+ </HTML>
+ 
+ Obtained Output
+ ===============
+ <HTML>
+   <P>@</P>
+   <P>&nbsp;</P>
+   <P>~</P>
+   <P>©</P>
+   <P>�</P>
+ </HTML>
+ 
+ XSL
+ ===
+ <?xml version="1.0"?> 
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
+ <xsl:output method="html"/>
+ 
+   <!-- FileName: OUTP04 -->
+   <!-- Document: http://www.w3.org/TR/xslt -->
+   <!-- DocVersion: 19991116 -->
+   <!-- Section: 16.2 HTML Output Method -->
+   <!-- Purpose: Test for numbered character entities -->
+ 
+ <xsl:template match="/">
+   <HTML>
+     <P>&#064;</P>
+     <P>&#160;</P>
+     <P>&#126;</P>
+     <P>&#169;</P>
+     <P>&#200;</P>
+   </HTML>
+ </xsl:template>
+  
+ </xsl:stylesheet>
+ 
+ XML
+ ===
+ <?xml version="1.0"?>
+ <doc>
+ </doc>
+ 
+ If you change the encoding in the ouput element to iso-8859-1,
+ xsltc outputs
+ 
+ <HTML>
+   <P>@</P>
+   <P>&nbsp;</P>
+   <P>~</P>
+   <P>�</P>
+   <P>�</P>
+ </HTML>
\ No newline at end of file

Reply via email to