
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> ________________________________ This e-mail message, including any attachments, is for the sole use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Gartner makes no warranty that this e-mail is error or virus free.

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>
participants (2)
-
Sorin Ristache
-
Wiener,Marc