No, get("intRange") returns null and ((IntegerRange)
get("intRange")).get("min") returns an error.
- Ron
Frank Budinsky wrote:
It sounds like a bug. Are you saying that get("intRange") is not null, but
get("min") on the intRange is 0 (unset)?
Frank
Ron Gavlin <[EMAIL PROTECTED]> wrote on 04/04/2007 05:14:10 PM:
Greetings,
I have the following global element in a schema:
<xsd:element name="query">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="intRange" type="IntegerRange" nillable="true/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="IntegerRange">
<xsd:attribute name="min" type="xsd:integer" />
<xsd:attribute name="max" type="xsd:integer" />
</xsd:complexType>
When I use Tuscany SDO to deserialize the instance document below,
the intRange min property does not appear to be set. Is this
expected behavior or a bug?
- Ron
<query>
<intRange min="1" xsi:nil="true"/>
</query>
---------------------------------------------------------------------
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]