FOP Extensions and FO Validating
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 16
- Joined: Mon Jan 10, 2011 6:02 pm
FOP Extensions and FO Validating
Hi all, I'm working with Oxygen 11.1 and I was able a external FO processor based on the built-in FOP libraries and the extension library in order to manage FOP Extension such fox:external-document and so on.
The problem is that in the editor page the FO validation is not passed due to the fox:external-document unrecognized element. This is not a great problem indeed, but can be useful to add this element to fo.xsd.
It is possible to do this in a simple way or I must edit the xsd.fo placed in the Oxygen installation directory under frameworks\fo\xsd ?
TIA
Giuseppe
The problem is that in the editor page the FO validation is not passed due to the fox:external-document unrecognized element. This is not a great problem indeed, but can be useful to add this element to fo.xsd.
It is possible to do this in a simple way or I must edit the xsd.fo placed in the Oxygen installation directory under frameworks\fo\xsd ?
TIA
Giuseppe
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: FOP Extensions and FO Validating
Dear Giuseppe,
Sorry for the delay.
Unfortunately the only way to do this would be to modify the OXYGEN_INSTALL_DIR/fo/xsd/fo.xsd.
Apache FOP does not have the functionality to validate a FO file so Oxygen uses XML Schema to check it for errors.
Regards,
Radu
Sorry for the delay.
Unfortunately the only way to do this would be to modify the OXYGEN_INSTALL_DIR/fo/xsd/fo.xsd.
Apache FOP does not have the functionality to validate a FO file so Oxygen uses XML Schema to check it for errors.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 16
- Joined: Mon Jan 10, 2011 6:02 pm
Re: FOP Extensions and FO Validating
Thanks Radu. I will do it.
I will keep a backup copy of the original fo.xsd.
By the way, do you think that there is a config file to say to oxygen wich xsd must be used for grammar checking?
I will keep a backup copy of the original fo.xsd.
By the way, do you think that there is a config file to say to oxygen wich xsd must be used for grammar checking?
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: FOP Extensions and FO Validating
Hi,
There is an XML catalog:
OXYGEN_INSTALL_DIR/frameworks/fo/xsd/catalog.xml
which maps the system ID:
http://www.w3.org/1999/XSL/Format/xsd/fo.xsd
to the fo.xsd XML Schema located in the same directory.
In the Oxygen Preferences->Document Type Association page the FO document type links to that catalog file.
Regards,
Radu
There is an XML catalog:
OXYGEN_INSTALL_DIR/frameworks/fo/xsd/catalog.xml
which maps the system ID:
http://www.w3.org/1999/XSL/Format/xsd/fo.xsd
to the fo.xsd XML Schema located in the same directory.
In the Oxygen Preferences->Document Type Association page the FO document type links to that catalog file.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service