Hi Hasan,

As far as I know, the validation is done by SCA on composite files. It uses
the tuscany-sca.xsd file. You can find it at:
https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules/assembly-xsd/src/main/resources

Regards,
Adriano Crestani

On Tue, Mar 25, 2008 at 8:44 AM, Hasan Muhammad <[EMAIL PROTECTED]> wrote:

> Hi Simon,
>
> I was wondering whether tuscany does any validation of the composites and
> if
> so, to what extent? If not, what is the api (if any exists) that we can
> use
> to do validation ourselves? If not the api, then how can we obtain
> information to do this validation? We would to know this in light of
> Workspace and ContributionManager.
>
> Also, can we get a list of all error/warning messages related to the
> particular contribution and the respected category? By category, i mean
> whether the error/warning is for schema validation, or implementation type
> error, etc.
>
> Here are some kinds of validation we would want to do..
>
> 1. Schema validation? Where is this done if at all?
>
> 2. Implementation type and binding type runtime support and validation: If
> no validation is being done, is there any api that can give  us a list of
> implementation types and binding types that are supported while
> bootstrapping (Adding the contribution)?
>
> 3. Component service/reference/property Name matching with what is in the
> component type: Again if not done, is there any api that can provide this
> information?
>
> 4. Composite level service/reference promoting the wrong component
> service/reference:
>
> Regards
> Hasan
>

Reply via email to