Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: Alika87 on June 26, 2013, 08:26:24 pm

Title: XSD Datatypes
Post by: Alika87 on June 26, 2013, 08:26:24 pm
Hi guys,

I am just working on a project with Enterprise Architect. Now I want to generate a XML Schema of my Model. The only problem here is, that the generator gives me a failure message that looks like this.

Adding class attributes...
      Warning no XSD type found for: "xyz".  Default is: xs:string

and so on, for every selfdefined Datatypes.

My Question now is, where can I define this additional XSD datatypes. I searched and searched but couldnt find any option, to do that.


Thank you very much and best regards.
Title: Re: XSD Datatypes
Post by: AndyJ on June 27, 2013, 09:05:43 am
Just a shot in the dark...

Have you defined "types" for your attributes?

Andy
Title: Re: XSD Datatypes
Post by: Alika87 on June 27, 2013, 05:52:12 pm
Thank you for your reply Mark.

I defined a couple of own Datatypes. These are the ones, which are not recognized. At the End I get a File, with the package names, Element names, Attribute names but no values for the Attributes.
Title: Re: XSD Datatypes
Post by: AndyJ on July 03, 2013, 02:36:31 pm
I'm not sure if you're seeing more than one error.

I just tried adding a fake "type" stuff to an attribute, and received the error you described.

By changing the name of the type to "xs:stuff" it quite happily was imported into the Schema.

Andy