
Hello, You get the error because Oxygen comes with an XML schema for validating XSL-FO documents that accepts only RenderX extensions. You need a schema for XSL-FO that accepts Antenna House extensions but unfortunately Antenna House does not publish such a schema. If you purchased a license of the Antenna House processor maybe the Antenna House guys can provide you such a schema? You set such a schema as the default one for validating FO documents by going to menu Options -> Preferences -> Document Type Association, editing the FO document type and setting the schema with Antenna House extensions on the Schema tab, the Schema URI text box. You can find details about Oxygen document types and their settings in the user manual: http://www.oxygenxml.com/doc/ug-oxygen/topics/predefined-document-types.html http://www.oxygenxml.com/doc/ug-oxygen/topics/dg-author-settings.html Regards, Sorin Wiener,Marc wrote:
We are getting the following error when trying to Validate an fo file in Oxygen 11:
E [Xerces] cvc-complex-type.2.4.a: Invalid content was found starting with element 'axf:document-info'. One of '{"http://www.renderx.com/XSL/Extensions":meta-info, "http://www.renderx.com/XSL/Extensions":page-device, "http://www.w3.org/1999/XSL/Format":layout-master-set}' is expected.
<?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" font-family="Arial"> <axf:document-info name="title" value="mytitle"/>
…
</fo:root>
It doesn’t affect the final PDF output, but it would be nice to be able to validate.
Thanks,
Marc
*Marc Wiener* *Enterprise Content Management** **Gartner* 203-316-3525 mailto:marc.wiener@gartner.com <mailto:brian.anderson@gartner.com/omailto:brian.anderson@gartner.com>