Kujunguo, Following up on what Luciano said.
The handling of property values was an issue that was unresolved when the OSOA SCA 1.0 specifications were published. The problem was subsequently fully addressed in the work on SCA in OASIS, which is reflected in the version of the specification that you have looked at.
The new OASIS version of the specifications are not yet implemented in the Tuscany codebase. This is one of the pieces of work that is planned for the new 2.0 codebase in Tuscany, but it is not implemented yet.
Yours, Mike. kujunguo kujunguo wrote:
From OASIS_sca-assembly-1.1-spec-cd01-rev2+Conformance-05.pdf, it'susing the following examples: <property name="pi" value="3.14159265" /> <property name="pi"> <value>3.14159265</value> </property> But from sca-core.xsd, I noticed: <complexType name="PropertyValue" mixed="true"> <complexContent> <extension base="sca:SCAPropertyBase"> <attribute name="name" type="NCName" use="required"/> <attribute name="type" type="QName" use="optional"/> <attribute name="element" type="QName" use="optional"/> <attribute name="many" type="boolean" default="false" use="optional"/> <attribute name="source" type="string" use="optional"/> <attribute name="file" type="anyURI" use="optional"/> <anyAttribute namespace="##any" processContents="lax"/> <!-- an extension point ; attribute-based only --> </extension> </complexContent> </complexType> Anyone has any sense about this? Thanks!
