[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emf-dev] Types support
- From: Frank Budinsky <frankb@xxxxxxxxxx>
- Date: Tue, 20 Jan 2004 14:11:39 -0500
- Delivered-to: email@example.com
In EMF 1.x only a small set of xsd built-in datatypes were supported (for
example, xsd:int mapped to Java int, but xsd:integer did not). All other
schema types mapped to String. The complete table of supported types is on
page 140 of the EMF book.
EMF 2.0 now supports all the schema build-in datatypes. I believe
xsd:integer maps to Java BigInteger.
P.S. In the future please ask these kinds of user questions on the emf
newsgroup instead of this mailing list. Thanks.
S." To: <emf-dev@xxxxxxxxxxx>
CNA.com> Subject: [emf-dev] Types support
Please respond to
I was trying to build an emf model from the following Schema, which
contains simple type number, derived from integer. To my surprise, the
model, generated from this schema, contained Number with the element value
of type string. Thus the implementation of the number class is using string
as a value type. Is it a bug or a feature?
#### iaaxml.xsd has been removed from this note on January 20 2004 by Frank
#### com.ibm.industries.financialservices.iaaxml.ecore has been removed
from this note on January 20 2004 by Frank Budinsky
#### NumberImpl.java has been removed from this note on January 20 2004 by