Patrick Riffel wrote:
> 
>>Sure, we do that all the time here at XMLmind. The main difference
>>between you and us is that we do not feel the need to double-check our
>>documents using xmllint.
> 
> Well, it's less a reason of double-checking than one of automation issues. I 
> use XXE as an editor in a "classical" docbook toolchain: Part of that is two 
> resolve xincludes via xmllint, do the xsl transformation with saxon and 
> create the PDF with apache's fop. And while I could very well live with a 
> duplicate ID, fop throws an error and stops transformation.

I understand. This is really a problem.

* Saxon (or is it the XSLT style sheet?) just issues this warning:
Warning: multiple "IDs" for constraint linkend: limitation_list.

* Both FOP 0.20.5 and FOP 0.92beta throw a ValidationException and stop
working.

* RenderX XEP happily converts the XSL-FO to PDF.

* Same with XMLmind FO Converter.



> Any idea how to deal with this? BTW, the 3.3 feature to ignore such errors 
> sounds promising, at least for the editing part ... 

Well, with FOP 0.92beta, using configuration parameter
strict-validation=false or using command-line option -r should have
forced FOP to ignore such benign validation error. But unfortunately I
cannot get that to work.

I'll post a RFE?/Bug report? to the FOP mailing list. (If you could do
the same thing, it would be nice: two votes are better than one.)

Reply via email to