Book a Demo

Author Topic: base="xs:integer" w. xsd:restriction  (Read 3647 times)

Paule

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
base="xs:integer" w. xsd:restriction
« on: November 15, 2005, 06:34:28 am »
Has anybody figured out how to add an xsd:restriction with attribute base="xs:integer" when using the UML Profile for XML and XSDDatatypes?
It always defaults to "xs:string". I tried to extent the Profile in a number of ways none of which have proved successful.

For string type it's painless - define another XSDSimpleType, set tagged values derivation=restriction and e.g. length=10
and set XSDAttribute's Type = the new XSDSimpleType and  it's included when generating the schema,
but for any other 'base' - no idea how to achieve that.

Paule

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: base="xs:integer" w. xsd:restriction
« Reply #1 on: November 15, 2005, 07:14:45 am »
I just installed version 6.0 and found this issue has been solved. Looks great! Thanks.