[oXygen-user] Corrupt PDF Output

Dan Caprioara
Thu Oct 23 01:15:47 CDT 2003


Hi Sean,

We are preparing an alpha kit with the new features like:
1. Possibility of inspecting the FOP output.
2. Possibility to set the memory available to FOP.

The file you sent to me generated a 11MB FO output. The FOP failed to 
transform this file to PDF due to insufficient memory. We tried with 
430MB and it succeeded.

I'll notify you when the kit is available.

Cheers,

Dan


Sean Wheller wrote:

>Great hope it helps.
>
>I don't get OOME. Running on SuSE 8.2 with j2re1.4.2
>
>Let me know soon as you have a fix. I need to
>transforms so I can release a draft of that document.
>
>BTW. I look forward to seeing version 3.
>If you can get the password working. I would give you
>back comment.
>
>Thanks.
>
>Sean Wheller
>
>--- Dan Caprioara <> wrote:
>  
>
>>I tried the transformation, but the file is too long
>>to be handled in a 
>>reasonable memory space.  I get OutOfMemoryError.
>>We'll need to make 
>>some optimisations in the editor.
>>
>>Thank your for reporting this.
>>
>>Dan
>>
>>Sean Wheller wrote:
>>
>>    
>>
>>>Any idea why I get corrupt pdf for that long file?
>>>
>>>Sean Wheller
>>>
>>>--- Dan Caprioara <> wrote:
>>> 
>>>
>>>      
>>>
>>>>I have compiled a new version of the editor, that
>>>>can turn on the FOP 
>>>>output, so you can see the error messages in the
>>>>results panel.
>>>>
>>>>The jar is located here:
>>>>
>>>>        
>>>>
>>>http://www.oxygenxml.com/update/oxygenFOPOutput.jar
>>>      
>>>
>>>>Please download it into the lib directory of your
>>>>installation, backup 
>>>>your oxygen.jar, then rename the new jar as
>>>>oxygen.jar.
>>>>
>>>>To activate the new feature, select the
>>>>Options/Preferences/FO 
>>>>processor/ Enable built-in FOP output checkbox.
>>>>
>>>>Note that this version has a changed licensing
>>>>mechanism. I will send 
>>>>you a new license through the email.
>>>>
>>>>Let me know what is the output of the FOP. (or at
>>>>least the last lines)
>>>>
>>>>Regards,
>>>>Dan
>>>>
>>>>Sean Wheller wrote:
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>Hello, when I transform a Docbook XML document to
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>PDF
>>>>   
>>>>
>>>>        
>>>>
>>>>>I cannot open it as it seems to be corrupt.
>>>>>
>>>>>The document is well-formed and valid.
>>>>>Transformations using (saxon and xalan) > apache
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>fop
>>>>   
>>>>
>>>>        
>>>>
>>>>>both output a PDF file, but both are corrupt.
>>>>>
>>>>>Any ideas how I may id what is going wrong.
>>>>>
>>>>>The only things special about the document are:
>>>>>
>>>>>it uses background textobjects
>>>>><programlisting>
>>>>><textobject>
>>>>><textdata fileref="path/to/file.asp"/>
>>>>></textobject>
>>>>></programlisting>
>>>>>
>>>>>it uses inside programlisting
>>>>><![CDATA[
>>>>>Some xml representation.
>>>>>]]>
>>>>>
>>>>>The document is 115262 lines.
>>>>>
>>>>>Sean Wheller
>>>>>
>>>>>__________________________________
>>>>>Do you Yahoo!?
>>>>>The New Yahoo! Shopping - with improved product
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>search
>>>>   
>>>>
>>>>        
>>>>
>>>>>http://shopping.yahoo.com
>>>>>_______________________________________________
>>>>>oXygen-user mailing list
>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>>      
>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>_______________________________________________
>>>>oXygen-user mailing list
>>>>
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>    
>>
>>>__________________________________
>>>Do you Yahoo!?
>>>The New Yahoo! Shopping - with improved product
>>>      
>>>
>>search
>>    
>>
>>>http://shopping.yahoo.com
>>> 
>>>
>>>      
>>>
>>_______________________________________________
>>oXygen-user mailing list
>>
>>
>>    
>>
>http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Shopping - with improved product search
>http://shopping.yahoo.com
>  
>




More information about the oXygen-user mailing list