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

*** shadow/3416 Tue Sep  4 12:06:41 2001
--- shadow/3416.tmp.28158       Tue Sep  4 12:06:41 2001
***************
*** 0 ****
--- 1,66 ----
+ +============================================================================+
+ | xsltc fails conf test output52 putting linefeed after <img> tag            |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3416                        Product: XalanJ2                 |
+ |       Status: NEW                         Version: CurrentCVS              |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Minor                    OS/Version: All                     |
+ |     Priority: Other                     Component: org.apache.xalan.xsltc  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                     |
+ |  Reported By: [EMAIL PROTECTED]                                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Although the difference seems minor, conf test output52 tests for exactly 
+ the problem that XSLTC is guilty of: putting whitespace after the <img> tag
+ within an <a> element in HTML output.
+ 
+ Expected Output
+ ---------------
+ <html>
+ <body>
+ <a href="#"><img src="image.jpg"></a>
+ </body>
+ </html>
+ 
+ Obtained Output
+ ---------------
+ <html>
+   <body>
+     <a href="#">
+       <img src="image.jpg">
+     </a>
+   </body>
+ </html>
+ 
+ output52.xsl
+ <?xml version="1.0"?> 
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
+   <xsl:output method="html"/>
+   <xsl:strip-space elements="*"/>
+ 
+   <!-- FileName: OUTP52 -->
+   <!-- Document: http://www.w3.org/TR/xslt -->
+   <!-- DocVersion: 19991116 -->
+   <!-- Section: 16.2 HTML Output Method -->
+   <!-- Purpose: html output method should not output white space after 
+        the image tag within the anchor tag. -->
+ 
+ <xsl:template match="/">
+   <html><body>
+     <a href="#">
+       <img src="image.jpg"/>
+     </a>
+   </body></html>
+ </xsl:template>
+ 
+ </xsl:stylesheet>
+  
+ output52.xml
+ ------------
+ <?xml version="1.0"?> 
+ <doc>
+ </doc>

Reply via email to