You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Matthew Peters <ma...@uk.ibm.com> on 2007/09/27 18:39:54 UTC
What happened to mustSupply?
p. 26 of the 1.00 Assembly Spec describes a mustSupply attribute on a
<property> inside a <composite>, used to mean that there is no default
value and a value must be supplied by the component that uses the
implementation. I don't see this attribute in the sca-core.xsd from the
1.0 Tuscany or any discussion of it on the mailing lists. Has the
attribute gone for good, and has the concept gone as well?
I am assuming that the noDefault attribute (used to be "required") is for
use just within a component type but perhaps that's wrong.
Matthew Peters
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Re: What happened to mustSupply?
Posted by Mike Edwards <mi...@gmail.com>.
Folks,
It's fixed now - the online sca-core.xsd matches the XSD published in
the SCA Assembly 1.0 spec.
Yours, Mike.
Mike Edwards wrote:
> Folks,
>
> This is a screw-up in the online versions of the XSDs on www.osoa.org -
> they don't match the spec declarations for the XSDs.
>
> I'll go fix that, since those online files have no business failing to
> match the spec.
>
>
> Yours, Mike.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org
Re: What happened to mustSupply?
Posted by Mike Edwards <mi...@gmail.com>.
Folks,
This is a screw-up in the online versions of the XSDs on www.osoa.org -
they don't match the spec declarations for the XSDs.
I'll go fix that, since those online files have no business failing to
match the spec.
Yours, Mike.
Jean-Sebastien Delfino wrote:
> Matthew Peters wrote:
>> p. 26 of the 1.00 Assembly Spec describes a mustSupply attribute on a
>> <property> inside a <composite>, used to mean that there is no default
>> value and a value must be supplied by the component that uses the
>> implementation. I don't see this attribute in the sca-core.xsd from
>> the 1.0 Tuscany or any discussion of it on the mailing lists. Has the
>> attribute gone for good, and has the concept gone as well?
>>
>> I am assuming that the noDefault attribute (used to be "required") is
>> for use just within a component type but perhaps that's wrong.
>> Matthew Peters
>>
>>
>
> The mustSupply attribute described in the assembly spec is implemented
> by the Tuscany assembly model, XML readers and writers.
>
> The SCA XSD says:
> <attribute name="noDefault" type="boolean" default="false" use="optional"/>
> instead of
> <attribute name="mustSupply" type="boolean" default="false"
> use="optional"/>
>
> IMO this is a bug in the XSD, I'll report the issue to the OASIS
> assembly TC.
>
> In the meantime, you can try to specify that mustSupply attribute
> anyway. It should work in Tuscany and XMLSchema validation shouldn't
> complain about it as the XSD for <property> allows for <anyAttribute
> namespace="##any" processContents="lax"/>.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org
Re: What happened to mustSupply?
Posted by Jean-Sebastien Delfino <js...@apache.org>.
Matthew Peters wrote:
> p. 26 of the 1.00 Assembly Spec describes a mustSupply attribute on a
> <property> inside a <composite>, used to mean that there is no default
> value and a value must be supplied by the component that uses the
> implementation. I don't see this attribute in the sca-core.xsd from the
> 1.0 Tuscany or any discussion of it on the mailing lists. Has the
> attribute gone for good, and has the concept gone as well?
>
> I am assuming that the noDefault attribute (used to be "required") is for
> use just within a component type but perhaps that's wrong.
>
> Matthew Peters
>
>
The mustSupply attribute described in the assembly spec is implemented
by the Tuscany assembly model, XML readers and writers.
The SCA XSD says:
<attribute name="noDefault" type="boolean" default="false" use="optional"/>
instead of
<attribute name="mustSupply" type="boolean" default="false" use="optional"/>
IMO this is a bug in the XSD, I'll report the issue to the OASIS
assembly TC.
In the meantime, you can try to specify that mustSupply attribute
anyway. It should work in Tuscany and XMLSchema validation shouldn't
complain about it as the XSD for <property> allows for <anyAttribute
namespace="##any" processContents="lax"/>.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org