Frank Budinsky wrote:
> Sebastien was asking me about how to find the Java implementation class 
> for a given XMLSchema built-in type (e.g., xsd:decimal). The SDO spec 
> includes a table on page 95 that shows how XSD types map to SDO Types and 
> consequently to Java instanceClass (3 column table). Note that the mapping 
> from the second to third column (SDO Type to Java class) is provided by 
> the commonj.sdo.Type.getInstanceClass() method. But, unfortunately, there 
> is currently no API defined in the SDO spec that implements the first to 
> second column mapping (XSD type to SDO type). Therefore there is no 
> standard way to do it.
> 

I'm confused - isn't this the function of the TypeHelper e.g.
  String XSDNS = "http://www.w3.org/2001/XMLSchema";;
  Type xsdDecimal = typeHelper.getType(XSDNS, "decimal");

--
Jeremy

Reply via email to