You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/09/04 22:00:25 UTC

[DO NOT REPLY: Bug 3418] New: xsltc fails conf test output73 with minor diff on missing spaces

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=3418

*** shadow/3418	Tue Sep  4 13:00:25 2001
--- shadow/3418.tmp.28921	Tue Sep  4 13:00:25 2001
***************
*** 0 ****
--- 1,65 ----
+ +============================================================================+
+ | xsltc fails conf test output73 with minor diff on missing spaces           |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3418                        Product: XalanJ2                 |
+ |       Status: NEW                         Version: 2.0.0                   |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Minor                    OS/Version: All                     |
+ |     Priority: Other                     Component: org.apache.xalan.xsltc  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xalan-dev@xml.apache.org                                     |
+ |  Reported By: tamiro@east.sun.com                                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ The only reason xsltc fails this conf test is that the spaces between 
+ the special chars are missing. Here's the details:
+ 
+ Expected Output
+ ---------------
+ <HTML>
+ <HEAD>
+ <META http-equiv="Content-Type" content="text/html; charset=SHIFT_JIS">
+ </HEAD>
+ <body>Hiragana  � � � � �</body>
+ </HTML>
+ 
+ Obtained Output
+ ---------------
+ <HTML>
+   <HEAD>
+     <meta http-equiv="Content-Type" content="text/html; charset=SHIFT_JIS">
+   </HEAD>
+   <body>Hiragana �����</body>
+ </HTML>
+ 
+ output73.xsl
+ ------------
+ <?xml version="1.0"?>
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ 
+   <xsl:output method="html" encoding="SHIFT_JIS"/>
+ 
+   <!-- FileName: OUTP73 -->
+   <!-- Document: http://www.w3.org/TR/xslt -->
+   <!-- DocVersion: 19991116 -->
+   <!-- Section: 16.2 HTML Output Method -->
+   <!-- Purpose: Test SHIFT_JIS encoding on HTML output.-->
+ 
+ <xsl:template match="/">
+   <HTML>
+     <HEAD></HEAD>
+     <body>Hiragana &#x3041; &#x3051; &#x3061; &#x3071; &#x3081; &#x3091;</body>
+   </HTML>
+ </xsl:template>
+ 
+ </xsl:stylesheet>
+ 
+ output73.xml
+ ------------
+ <?xml version="1.0"?>
+ <doc>
+   <foo>a</foo>
+ </doc>