Editing with the SCA XML editor

Basic features

The SCA Composite XML editor extends and specializes for SCA the XML editor provided by the Eclipse WTP project.

An overview of the SCA XML Editor

Thus, this editor inherits from the usual features: syntax highlighting, source formatting, XSD-based validation, etc...

As a basic feature, this editor is automatically associated with *.composite and *.componentType files.
It also uses the XSD files defining SCA elements, to validate your file and provide auto-completion for mark-ups and attribute names.

Advanced features

Auto-completion for attribute values

The SCA XML editor provides user assistance for some attribute values.

Proposals for a promote attribute

Currently, the editor proposes values for the following attributes:

The five first quoted attributes will get SCA relative URIs ( componentName/serviceName or componentName/referenceName ) as proposals. The proposals which are made take in account included composites, which means that proposals will include elements from included composites.

Proposals are displayed when you type in Ctrl + space.

Proposals for an include attribute

Using your own XML definitions

The SCA XML editor uses the XML schemas provided by the OSOA consortium and used as the basis for the SCA meta-model.
However, you may want to use or register your own XML schemas to use them in the SCA XML editor.

This can be achieved in two different manners: