Re: How to Disable schema validation in FOP 1.1 (as in FOP 0.20.5)

2014-03-13 Thread Luis Bernardo
OK, setting strict validation to false relaxes strict validation but it doesn't mean that it is totally lax or just bypassed. It turns out that relaxed validation doesn't forgive your first example An example that would pass would be placing an fo:table-footer element after a fo:table-bod

Generate RTF file with servlet

2014-03-13 Thread edi4988
Hi everyone, I'm using this example https://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-1_0/src/java/org/apache/fop/servlet/FopServlet.java I generate a pdf file from a XSLT and XML file and this works, but I need to generate a RTF file too. I added this method to the source file: *priv

Re: How to Disable schema validation in FOP 1.1 (as in FOP 0.20.5)

2014-03-13 Thread zeroxff
Hello again, i enclose the examples in plain text: 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

Re: How to Disable schema validation in FOP 1.1 (as in FOP 0.20.5)

2014-03-13 Thread zeroxff
Hi Luis Bernardo, thank you for your answer, here are some 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 enclos

Re: How to Disable schema validation in FOP 1.1 (as in FOP 0.20.5)

2014-03-13 Thread Luis Bernardo
In general setting strict validation to false or passing the -r switch in the command line should do the trick. Can you send your example? On Thu, Mar 13, 2014 at 11:54 AM, zeroxff wrote: > Hello, > > Is it possible to convert FO file to PDF without validating FO? I've a set > of old .fo files w

How to Disable schema validation in FOP 1.1 (as in FOP 0.20.5)

2014-03-13 Thread zeroxff
Hello, 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