[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Oracle Proposal: SDO 99 - ISSUE 99: Error in allocating SDO Typefor elements with nillable=true
Hello All, Below is a more detailed description of the Oracle proposal for SDO 99. Section 7.4.2 of the Core Spec regarding nillable simple elements "If the type of the element has Simple Content without attributes, a Java Type with an Object instance class is assigned. For example, IntObject instead of Int. In an XML document,
xsi:nil="true" corresponds to a null value for this property.
If oddInt
extends xsd:int currently
Simple Type with name <simpleType name=[NAME]> corresponds to: Type name=[NAME] Meaning that our "oddInt" type will have the super type of Int. THIS is where I think the spec is wrong. Instead of extending Int, it should extend IntObject since this type may be used by a nillable element.
base="[BASE]"
if base is capable or represented null, other wise the base corresponds
to the corresponding object type Proposal
2 - Set the default default value for properties corresponding to
extended primitive types to the base primitive types default value
With the
above proposals the impact on the user should be minimal:
-Blaise |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]