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 2002/03/26 06:54:45 UTC

DO NOT REPLY [Bug 7475] New: - Docbook html output broken with XalanC

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

Docbook html output broken with XalanC

           Summary: Docbook html output broken with XalanC
           Product: XalanC
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XalanC
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: tim.timmerman@asml.com


Given following structure

  <book>
   <chapter> <title>This is chapter 1</title>
     <sect1><title> This is section 1 of ch 1</title>
       <para> 
	      This is some text for section 1 
       </para>
     </sect1>
     <sect1><title>This is section 2 of ch 1</title>
       <para>
	     This is some text for section 2
       </para> 
      </sect1>
    </chapter>
   </book>

Redenering command:
	Xalan  testfile docbook-xsl-1.49/html/docbook.xsl

XalanC1.3 incorrectly renders this as

   1. This is chapter 1
     1.1 This is section 1 of chapter 1
     1.2 This is section 2 of chapter 1
     
   This is some text for section 1

   This is some text for section 2

Expected output
  1. This is chapter 1
     1.1 This is section 1 of chapter 1
     1.2 This is section 2 of chapter 1
   
   1. This is chapter 1
     1.1 This is section 1 of chapter 1
	 This is some text for section 1

     1.2 This is section 2 of chapter 1
	 This is some text for section 2

This later version is the version output by XalanJ, XSLT etc. It is also
the version which I get when I run with stylesheet versions 1.48 or earlier