Problems with jfor V0.7.2dev-g

[email protected] Fri, 20 Jun 2003 09:43:58 +0100
Newsgroups gmane.text.xml.jfor.devel
Message-ID <[email protected]>
  Hi, 
   
  Some features that in version 0.7.1 were working ok are not now, namely
the stylesheets aren't working (the font size, for some reason, is always
12pts!!), try
"samples/cocoon/tests/stylesheets/simple-stylesheet.fo.xml",and jfor
crashes when using a table inside a table cell (see example bellow) - it
was working fine in version 0.7.1.

   Does anybody has these problems with version V0.7.2dev-g?
   
   Thanks!
   
   AV
 
 
 
 My example that crashes (with "java.lang.NullPointerException"):
 
 <?xml version="1.0" encoding="iso-8859-1"?>
 
 
 <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
 xmlns:html="http://www.w3.org/1999/xhtml" 
 xmlns:jfor="http://www.jfor.org/xmlns/2001/stylesheet" >
 
   <fo:layout-master-set >
 
     <fo:simple-page-master  master-name = "A4" page-height  "29.7cm" 
 page-width = "21cm"  margin-top = "1.5cm"  margin-bottom = "2.5cm" 
 margin-left = "2cm"
  margin-right = "2cm" >
 
       <fo:region-body	margin-top = "1.5cm" >
 </fo:region-body>
       <fo:region-before  extent = "1.5cm" >
 </fo:region-before>
       <fo:region-after extent = "1.5cm" >
 </fo:region-after>
     </fo:simple-page-master>
   </fo:layout-master-set>
 
 
   <fo:page-sequence  master-name = "A4" >
 
 
 
 
 
 
 
 
 
     <fo:flow  flow-name = "xsl-region-body" >
 
 
 
      <fo:table table-layout = "fixed"	table-omit-header-at-break =
 "false"  padding = "3pt" >
 
	 <fo:table-column  column-width = "30mm" >
	 </fo:table-column>
	 <fo:table-column  column-width = "145mm" >
	 </fo:table-column>
 
	 <fo:table-body >
	   <fo:table-row >
	      <fo:table-cell >
		<fo:block >
		 </fo:block>
	      </fo:table-cell>
 
 
	      <fo:table-cell >
 
		<fo:table  padding = "3pt" >
		   <fo:table-column  column-width = "145mm" >
		   </fo:table-column>
		    <fo:table-body >
		      <fo:table-row >
			  <fo:table-cell  border-bottom-style  "thin" >
		  <fo:block  > AAAAAAAAAAA</fo:block>
			  </fo:table-cell>
		     </fo:table-row>
 
 
 
		      <fo:table-row >
			  <fo:table-cell >
			  <fo:block  >
 
			    </fo:block><fo:block  font-size = "1pt"
 >.</fo:block>
 
			  </fo:table-cell>
		     </fo:table-row>
 
		      <fo:table-row >
 
			  <fo:table-cell >
 
			   <fo:block  font-weight = "bold" >
			     </fo:block><fo:block  font-size ="1pt" >
			       .</fo:block>
			  </fo:table-cell>
		     </fo:table-row>
 
		    </fo:table-body>
		   </fo:table>
 
	      </fo:table-cell>
	   </fo:table-row>
	 </fo:table-body>
      </fo:table>
 
     </fo:flow>
 
   </fo:page-sequence>
 </fo:root>





-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php