Question:
I am converting an xml file to pdf. In case of large xml data data pdf get corupted and it not opend WHY?
saurabh srivastava
2006-09-21 01:55:18 UTC
I am using XSL Formatting object for conversion.
Four answers:
madscmhansen3
2006-09-22 07:28:16 UTC
Is your FO instance file being created successfully?



If not, then try switching XSLT processors. If you are using a DOM based processor, a large file will consume a very large amount of RAM. Try using a SAX processor, such as SAXON http://saxon.sourceforge.net/



If you are able to generate a valid FO instance file, then your problem is with the FO processor generating the PDF file.



It is often helpful to try other FO processors, to see if there is a bug/limitation in the one you are using.



Here are a few FO processors you could try:

XEP: http://www.renderx.com

Antennahouse: http://www.antennahouse.com

FOP: http://xml.apache.org/fop/

IBEX: http://xmlpdf.com/
anonymous
2016-12-12 17:08:17 UTC
Samuel, Sorry for replying on your answer 5 years later. Acrobat won't be able to export to Musicmxl data because of the fact the convention isn't like the nicely-known XML format. Musicmxl is a music particular format. Sibelius First can convert PDF to Sibelius format being reading utilising utilising the lite version of PhotoScore, which sends the score to Sibelius in .sib format. Sibelius, then can export it to Musicmxl. The lite version, even however, provides constrained useful factors. in case you decide on the entire concern, then you somewhat can shell out greater desirable than 200 dollars for the entire version. There are different utility recommendations however the accuracy is so, so. i've got no longer got here across a greater powerful answer.
jake cigarâ„¢ is retired
2006-09-21 10:11:55 UTC
using xsl:fo, hmm ok....



small amounts of data work fine.... large amounts get corrupted....



no warnings or errors?



switch xsl processors.... add memory... watch for warnings.



are you sure it's not "garbage in - garbage out"?
?
2006-09-21 02:04:24 UTC
may have to zip file it JUST GUESSING get more at adobe


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...