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.

Reply via email to