All this while I experimented the examples that came with FOP distribution .
Today I wrote a Fo on my own . And I tried to render to PDF from command
prompt . But it did not go thru . The Log shows 

[INFO]: FOP 0.20.2
[INFO]: building formatting object tree
[ERROR]: null

Please Help me figure out what is wrong . The fo looks perfectly the
fine/same as the examples .!

------------------------------------------------My Fo
-------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
        <fo:layout-master-set>
                <fo:simple-page-master
                        margin-right="50pt" margin-left="50pt"
                        margin-bottom="50pt" margin-top="50pt"
                        page-width="792pt" page-height="612pt">
                        <fo:region-body/>
                </fo:simple-page-master>
        </fo:layout-master-set>
        
        <fo:page-sequence>
                <fo:flow>
                        <fo:block
                                line-height="80pt"
                                font-size="72pt"
                                font-family="Arial">
                                                FOP Hello World 
                        </fo:block>
                </fo:flow>
        </fo:page-sequence>
</fo:root>
 

Reply via email to