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=6074>.
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=6074

mode not working with apply-templates if output is xhtml





------- Additional Comments From [EMAIL PROTECTED]  2002-04-25 19:23 -------
to help you fix this I've attached an xsl and xml file bug6074.xml and 
bug6074.xsl that you can run as a test case. If you compare the output
from Xalan versus XSLTC you can see XSLTC is missing output

Running xalan on bug6074
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";><head><title>Document
Title</title></head><body><p> Number of actors: 
         5</p><p> Number of shows with actors: 
         2</p><p> Number of shows with ZERO actors: 
         1</p><hr /><h1>Shows that contain actors:</h1><p xmlns="">Show: 11 --
Winnie the Pooh
      has the following actors: <p>Actor link: <a
href="http://localhost/servlet?name=Tigger";>Tigger</a>5555</p><p>Actor link: <a
href="http://localhost/servlet?name=Roo";>Roo</a>2222</p><p>Actor link: <a
href="http://localhost/servlet?name=Winnie";>Winnie</a>3333</p></p><p
xmlns="">Show: 09 -- Tom and Jerry
      has the following actors: <p>Actor link: <a
href="http://localhost/servlet?name=Tom";>Tom</a>2020</p><p>Actor link: <a
href="http://localhost/servlet?name=Jerry";>Jerry</a>1010</p></p><hr /><h2>Shows
with no cast</h2><p xmlns="">Show: 23 -- Unnamed Show Idea
      has no actors</p></body></html>


Running XSLTC with Xerces Parser on bug6074
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";><head><title>Document
Title</title></head><body><p> Number of actors: 
         5</p><p> Number of shows with actors: 
         2</p><p> Number of shows with ZERO actors: 
         1</p><hr/><h1>Shows that contain actors:</h1>
                
                
                
        
                
                
        <hr/><h2>Shows with no cast</h2>
                
        </body></html>

Reply via email to