[
https://issues.apache.org/jira/browse/TUSCANY-1178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481156
]
Frank Budinsky commented on TUSCANY-1178:
-----------------------------------------
This is a good question. It relates to nillable elements of simple primitive
types (i.e., ones that map to primitive Java instance classes like int, float,
etc.).
On page 90 of the 2.1 spec it says this for the mapping of an Element with
nillable:
"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."
So, Tuscany has taken the liberty of providing such a type whenever a primitive
DataType is defined.
Thoughts?
> DynamicTypesFromSchemaTestCase expecting *Object types to be created
> --------------------------------------------------------------------
>
> Key: TUSCANY-1178
> URL: https://issues.apache.org/jira/browse/TUSCANY-1178
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Community Test Suite
> Reporter: Andy Grove
>
> DynamicTypesFromSchemaTestCase expects the following types to be included in
> the list returned by XSDHelper.define() but there are no types with these
> names in the XSD (these types minus the "Object" suffix do exist though). Is
> there something in the spec that says these extra Object types must be
> created or is this Tuscany-specific implementation detail that should be
> excluded from the CTS?
> evenNumberOfOddOrEvenDigitsObject
> monthObject
> oddOrEvenDigitsObject
> smallIntObject
> smallOddNumberObject
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]