It seems that SDO models XSD substitution group as open content. So in this
case, we have two properties: implementation and implementation.java. The
DataObject.getXXX(Property) method works for both and returns the same
value. And because of this, the code doesn't know if the implementation.java
substitutes implementation. As a result, the vaule is incorrectly written
twice into the XML stream.
Thanks,
Raymond
----- Original Message -----
From: "Jeremy Boynes" <[EMAIL PROTECTED]>
To: <tuscany-dev@ws.apache.org>
Sent: Wednesday, June 14, 2006 9:43 AM
Subject: Re: Question about XSD substitution support in SDO2
On 6/14/06, Raymond Feng <[EMAIL PROTECTED]> wrote:
By the SDO spec, the component Type (which owns the implementation
substitution group) is open and there will be two properties:
implementation: normal property in Type.getProperties() list
implementation.java: dynamic property in
DataObject.getInstanceProperties()
list
If the type was just open then yes. I thought the intent here though
was substitution so wouldn't that mean that the "implementation"
property should contain an "implementation.java" sub-type instance?
--
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]