How to register XML schemas for the SCA XML editor?

The SCA XML editor is based on the WTP XML editor.
Consequently, you can use the XML catalog to register your own XML schemas and use them in this editor.

To register an XML schema in the catalog from a code contribution, you must use the org.eclipse.wst.xml.core.catalogContributions extension-point.

The schema can be located on a local or a remote URI. It can also be inside an Eclipse plug-in.
The code below registers the OSOA XML schemas in the XML catalog.

<extensio>
       id="org.eclipse.stp.sca.composite.schema"
       name="SCA Composite Schema"
       point="org.eclipse.wst.xml.core.catalogContributions">
	   
    <catalogContribution id="default">
		<uri 
			name="http://www.osoa.org/xmlns/sca/1.0" 
			uri="platform:/plugin/org.eclipse.stp.sca/xsd/sca.xsd"/>
    </catalogContribution>
</extension>