Book a Demo

Author Topic: Generate XML schema, no datatypes exist!  (Read 1987 times)

Kramer

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • Using EA since 05/2005
    • View Profile
Generate XML schema, no datatypes exist!
« on: November 06, 2005, 01:23:15 pm »
 
I am trying to export database model as XML.
The only way I found is to use "Generate XML schema" command.
However EA doesn't take datatypes in account for this generation.
Here is the output:
Code: [Select]


Checking Class: user...ok
Validation Completed

Building XSD classes...done

Initialising XSD classes...done

Adding class attributes...

Warning no XSD type found for: "BIGINT".  Default is: xs:string

Warning no XSD type found for: "VARCHAR".  Default is: xs:string

Warning no XSD type found for: "TEXT".  Default is: xs:string

Warning no XSD type found for: "BIGINT".  Default is: xs:string

Warning no XSD type found for: "VARCHAR".  Default is: xs:string

Warning no XSD type found for: "VARCHAR".  Default is: xs:string

Warning no XSD type found for: "BOOL".  Default is: xs:string

Warning no XSD type found for: "BOOL".  Default is: xs:string

Warning no XSD type found for: "BOOL".  Default is: xs:string

Warning no XSD type found for: "VARCHAR".  Default is: xs:string

Warning no XSD type found for: "BOOL".  Default is: xs:string


resulting XSD looks like this:

Code: [Select]


<xs:complexType name="user">

<xs:sequence>


<xs:element name="user_id" type="xs:string"/>


<xs:element name="login" type="xs:string"/>

All element types are "string".

Is there a way to make it output datatypes correctly?
What template do I need to edit? I spend lot of time at Developer site http://sparxsystems.com.au/resources/developers but couldn't find out.

Thanks.