"Overwriting" schema with document type association

Post here questions and problems related to oXygen frameworks/document types.
stdu
Posts: 81
Joined: Mon Mar 05, 2012 5:23 pm

"Overwriting" schema with document type association

Post by stdu »

In the document type association dialog I can add a schema, which is used by Oxygen when no schema ist detected in the xml document. Is there a way to bring Oxygen to use the schema in the document type association instead of the one, defined in the xml?

Greets & Thx,
Stefan
Radu
Posts: 9044
Joined: Fri Jul 09, 2004 5:18 pm

Re: "Overwriting" schema with document type association

Post by Radu »

Hi Stefan,

No, that is just the fallback schema but:

If you edit the document type association, in the "Validation" tab you can create a new validation scenario and use it as the default validation scenario (check the checkbox next to it).
You can edit the DITA document type to see how this is done there.
That default validation scenario should be used instead of the schema specified in the document.

or:

You can have your own XML catalog which maps the schema specified in the XML document to some other schema location.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply