Validation scenario for DITA customization?
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 460
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
Validation scenario for DITA customization?
Post by Frank Ralf »
Hi,
I want to create a validation scenario to validate DITA files against a customized DITA definition, implemented as a DITA-OT plugin, without having to switch DITA-OTs or frameworks. However, it looks as if I can only point a validation scenario to a single schema file but not an XML catalog file as would be required. Am I missing something? Or is there a workaround for that?
Kind regards,
Frank
I want to create a validation scenario to validate DITA files against a customized DITA definition, implemented as a DITA-OT plugin, without having to switch DITA-OTs or frameworks. However, it looks as if I can only point a validation scenario to a single schema file but not an XML catalog file as would be required. Am I missing something? Or is there a workaround for that?
Kind regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.com
Re: Validation scenario for DITA customization?
Hi Frank,
A validation scenario points to a schema, that schema reference may be resolved by Oxygen through an XML catalog. XML catalogs map schema references to various resources on disk. An XML catalog is a mapping, it is not a schema.
The only two places where to add XML catalogs to Oxygen so that it knows about them are the Preferences->"XML Catalogs" page and inside framework customizations.
Regards,
Radu
A validation scenario points to a schema, that schema reference may be resolved by Oxygen through an XML catalog. XML catalogs map schema references to various resources on disk. An XML catalog is a mapping, it is not a schema.
The only two places where to add XML catalogs to Oxygen so that it knows about them are the Preferences->"XML Catalogs" page and inside framework customizations.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Validation scenario for DITA customization?
Oh, there is also a plugin extension point allowing a Java based plugin to contribute an entity resolver, basically the plugin's code gets called to resolve a certain DTD reference for example and it controls what schema reference to return instead, somehow like an XML catalog does but implemented in Java code instead.
https://www.oxygenxml.com/InstData/Edit ... yResolver-
https://www.oxygenxml.com/InstData/Edit ... yResolver-
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 460
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
Re: Validation scenario for DITA customization?
Post by Frank Ralf »
Hi Radu,
Many thanks for the quick reply and the pointers.
Best regards,
Frank
Many thanks for the quick reply and the pointers.
Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.com
-
- Posts: 460
- Joined: Thu Jan 23, 2014 2:29 pm
- Location: Hamburg
- Contact:
Re: Validation scenario for DITA customization?
Post by Frank Ralf »
Hi Radu,
I have created a DITA framework extension that as the only customization points to the additional catalog file. That way, I can easily switch between the two DITA flavors for validation purposes. Thanks again for your pointers.
Best regards,
Frank
I have created a DITA framework extension that as the only customization points to the additional catalog file. That way, I can easily switch between the two DITA flavors for validation purposes. Thanks again for your pointers.
Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
parson AG
www.parson-europe.com
Re: Validation scenario for DITA customization?
Hi Frank,
Right, all XML catalogs are contributed to the global catalog resolver so the catalog contributed by the framework will influence all other frameworks as well.
Regards,
Radu
Right, all XML catalogs are contributed to the global catalog resolver so the catalog contributed by the framework will influence all other frameworks as well.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
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