Author Topic: XSD Datatypes  (Read 4443 times)

Alika87

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
XSD Datatypes
« 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.

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: XSD Datatypes
« Reply #1 on: June 27, 2013, 09:05:43 am »
Just a shot in the dark...

Have you defined "types" for your attributes?

Andy
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."

Alika87

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: XSD Datatypes
« Reply #2 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.

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: XSD Datatypes
« Reply #3 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
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."