Fuhwei,

1) It's not a bug, it's a validation issue. If you were to run an SDO 
validator (assuming we had one) on your instance, that's when it would 
complain.
2) "status" is a simple type. It has no properties. The enumerations are 
the legal values, not properties.

Frank.

Fuhwei Lwo <[EMAIL PROTECTED]> wrote on 02/05/2007 09:42:27 AM:

> I have looked up the SDO 2.1 spec and couldn't find the answers. Please 
help.
> 
> I have defined a simple type like this:
> 
> <xsd:simpleType name="status">
>         <xsd:restriction base="xsd:string">
>             <xsd:enumeration value="unspecified"/>
>             <xsd:enumeration value="Good"/>
>             <xsd:enumeration value="Indifferent"/>
>             <xsd:enumeration value="Bad"/>
>         </xsd:restriction>
> </xsd:simpleType>
> 
> and found I can set its SDO property value to something like 
> "Excellent" which is not defined as one of "status" enumeration 
> values. Is this a bug?
> 
> 2nd question - if I invoked "List /* Property */ Type.
> getProperties()", what property names am I going to get for each 4 
> enumeration value?
> 
> Thanks in advance.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to