Is it possible to convert FO file to PDF without validating FO? I've a set
of old .fo files which can be processed and converted to PDF by FOP 0.20.5.

Those files violate the (unofficial) FO XSD but the old release of Apache
FOP ignores this and produces a PDF file. 

I've tried to disable the strict validation in Apache FOP 1 (via
fopFactory.setStrictValidation(false)) but i've got no result.

Is there any way to disable validation, as a backward compatibility measure
with FOP 0.20.5?

Examples of XSD violations (ignored by FOP 0.20.5)

Here, fo:region-body, according to xsd, must be in first position but is not
mandatory according to w3c

Here, fo:external-graphic, according to xsd,  must be enclosed in a
<fo:block>...</fo:block> element

Thanks in advance.

View this message in context: 
Sent from the FOP - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to