Author Topic: Using ValueRestriction in NIEM 3.0  (Read 1898 times)

Steve Wartik

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
  • Why aren't I outside?
    • View Profile
Using ValueRestriction in NIEM 3.0
« on: December 15, 2016, 04:01:48 am »
I'm using Enterprise Architect's NIEM capabilities to generate an IEPD. What is the correct way to create a «ValueRestriction»? The UML Profile for NIEM (V3.2 Beta) shows LongitudeDegree as a specialization of decimal (Fig. 7-20). When I create something analogous, the corresponding XML schema has errors:
  • The name attribute of the xs:simpleType includes the schema's prefix. It looks something like <xs:simpleType name="prefix:LongitudeDegreeSimpleType">.
  • The restriction uses prefix niem-xs rather than xs. That is, it looks like <xs:restriction base="niem-xs:decimal">. This doesn't work, because niem-xs:decimal is a complex type, and a simple type can't have a complex type as its base.
Can someone tell me the correct paradigm? Thanks in advance.


  • EA Administrator
  • EA Guru
  • *****
  • Posts: 7296
  • Karma: +84/-12
    • View Profile
Re: Using ValueRestriction in NIEM 3.0
« Reply #1 on: December 15, 2016, 08:43:55 am »
I think you'll need to contact Sparx Support directly.

It's been a while since I looked in detail at the NIEM schema generation.