Wang Feng wrote:
Hi all
I have a scenario like this.There are two contributions and each one contribution
contains one composite which has the same namespace. The namespace has been
imported and exported on every contribution.
I am not sure this scenario is right or wrong,can anybody give me an advice?
Contribution metadata like below:
Contribution A
<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0"
targetNamespace="http://hello"
xmlns:hello="http://hello">
<deployable composite="hello:helloworldws"/>
<import namespace="http://hello"/>
<export namespace="http://hello"/>
</contribution>
Contribution B
<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0"
targetNamespace="http://hello"
xmlns:hello="http://hello">
<deployable composite="hello:helloworld"/>
<import namespace="http://hello"/>
<export namespace="http://hello"/>
</contribution>
--------------
Wang Feng
2008-04-15
Wang Feng,
It is perfectly acceptable to use the same namespace for artifacts such
as composites in multiple contributions. Your example is just fine.
What you should not do is to have the same name for the same type of
artifact in the same namespace, whereever they are placed - that is to
invite trouble. So names "composite1" and "composite2" are OK, but to
have two composites named "composite1" is not wise, even if they are in
separate contributions.
Yours, Mike.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]