Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Steve Wartik

Pages: [1] 2 3
General Board / 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.

General Board / Re: Sparx EA Font
« on: July 15, 2008, 11:22:54 pm »
Thanks for the pointers. The suggestion about the options window only applies to diagrams, unfortunately, whereas my problem lies with text fields. As for the ctrl-mouse trick: I hadn't known EA 7.1 supports it! It is helpful, though still not perfect. The face (Tahoma?) does a poor job at displaying non-ASCII characters.... any other tricks up your sleeve?

General Board / Sparx EA Font
« on: July 15, 2008, 04:36:56 am »
Is there a way to change the font Sparx EA uses, especially in the properties fields?

I'm dealing with data that has directed quotation marks, i.e., non-ASCII characters. The glyphs are, at least to my tired old eyes, indistinguishable from undirected quotation marks in EA's default font or from each other. I figured that I might have better luck with a different type face, but EA doesn't seem to react when I change Windows' font properties

Thanks for any and all help.

General Board / Stereotype Synchronization
« on: April 18, 2008, 02:47:58 am »
Can someone please explain, precisely, the conditions under which Enterprise Architect determines it needs to synchronize tagged values?

Every time I synchronize a stereotype in one of my projects, it creates duplicates of all the tagged values. I'm thinking the only solution is to hack the database manually. I will happily do so, but my attempts so far haven't caused EA to stop synchronizing the things I think are already quite well synchronized, thank you very much. Hence my question.

Steve Wartik

General Board / XMI Representation of Profiles
« on: April 16, 2008, 06:41:28 pm »
I've created a model with several custom stereotypes that I've imported through profiles.  One of the profiles is named "Attributes Profile". It contains a stereotype named "text".

I've exported this model to XMI. The XMI file contains tags of the form:
<Attributes_Profile:text base_Attribute="EAID_..." text="1"/>
Most of this is obvious. But what is the meaning of the text="1" part? Where does the value come from? Also, it's present in some <Attributes_Profile:text/> tags but not others. When is it needed, and when is it not needed?

Thanks in advance for any and all help.

Steve Wartik

General Board / MOF Validation
« on: October 26, 2007, 12:15:40 pm »
The documentation for EA 6 (build 778, to be precise - URL is says you can validate an EA model against the MOF.
  • Is this feature still present in version 7?
  • If so, how do I invoke it?

General Board / Re: Duplicate Object Properties
« on: October 23, 2007, 05:01:05 am »

Thanks for your response. I don't think the problem is in the XMI file, though. I have tried importing an XMI file that is valid (I'm pretty sure...), then exporting the model to another XMI file.  The new file is invalid.  Moreover, when I example the .EAP file using Microsoft Access, I find that the t_objectproperties table has duplicates.

I've submitted a bug report. It includes an XMI file you can use to reproduce the problem.

I appreciate your guidance.  Good luck.


General Board / Duplicate Object Properties
« on: October 22, 2007, 11:15:32 am »
I'm working with the database representation of a class model I've developed. Some of the tags are repeated in the t_objectproperties table.  That is, the rows are identical except for the PropertyID column.  I might expect this kind of behavior if I was using versions, but it happens when I import an XMI file.  It doesn't show up anywhere in the user interface: the tag has exactly one value, just as I'd expect.  If I export the model back to XMI, the file contains (roughly):

 <tag xmi:id="xxx" rest/>
 <tag xmi:id="xxx" rest/>
 <tag xmi:id="xxx" rest/>
 <tag xmi:id="xxx" rest/>

That is, the tags are duplicated.  The ID is identical in all 4 instances.  Is this a bug or a feature?  If a feature, how do I determine the tag's current value?

General Board / Re: Establishing MySQL Connection
« on: March 21, 2007, 06:37:50 am »
Thanks. I figured I was overlooking something obvious.

For the record, I had searched help using "ODBC" as the search term. I found the "Setting Up a Database Repository" page and thought that was enough. You could help dummies like me by adding a mention on this page about the Upsizing pages.

General Board / Establishing MySQL Connection
« on: March 20, 2007, 12:42:25 pm »
Help! I can't get EA to connect to a database repository. More precisely, I've set up an ODBC driver for MySQL. When I click the "Test" button, the MySQL connector window tells me the connection was made. So far so good. So then, in EA, I:
    [1] click "Connect to Server..."
    [2] select "Microsoft OLE DB Provider for ODBC Drivers"
    [3] connect to my data source in the connection tab (the Test Connection button works here too)
    [4] click ok

But now EA invariably tells me there's no current project.

What am I doing wrong?

Thanks for any and all help.

Steve Wartik

Bugs and Issues / Re: How can I remove stereotypes?
« on: April 11, 2008, 04:54:53 pm »
I've seen this kind of thing before when the model had stereotypes with a ',' in the stereotype name, but that was a long time ago (the model was created in the days before EA allowed multiple stereotypes). Go to Settings > UML and make sure there are no stereotypes with ',' and if there are delete them. Also look in any profiles and technologies you have loaded. I suspect this isn't the answer, but it needs eliminating.
I checked and, regrettably, you're right about commas not being the answer. I've filed a bug report, so we'll see what those with access to EA source code have to say.


Bugs and Issues / Re: How can I remove stereotypes?
« on: April 11, 2008, 04:27:43 pm »
Thanks to all for suggestions. The most useful one, unfortunately, is to file a bug report... I'll post another reply on this thread when I hear anything.


Bugs and Issues / How can I remove stereotypes?
« on: April 10, 2008, 09:39:53 pm »
I have a model in which I have assigned multiple stereotypes to certain classes. I'm having several problems with them. First of all, they often show up multiple times in diagrams. In other words, I have stereotypes "subcls" and "supercls" assigned to one of my classes, and in a diagram it displays as <<supercls,subcls,supercls>>.

Furthermore, I can't remove the stereotypes. If I click the "..." box next to the stereotype menu and de-select stereotypes, it has no effect -- when I click OK, the stereotypes are selected again when I return to that pop-up. Similarly, when I clear the stereotype menu and click OK, the stereotype reappears when I return to the properties pop-up.

Any suggestions? I'm willing to edit an exported XMI file if that's what it takes!



Bugs and Issues / OCL in Model Validation
« on: April 08, 2008, 07:11:14 pm »

Can someone explain to me how Enterprise Architect is processing OCL during model validation?

How is Enterprise Architect using the constraints associated with classes during model validation? A constraint is supposed to apply to instances of a class (right?), so how is it that my class model, which has no instances, is generating OCL violation warnings?


Automation Interface, Add-Ins and Tools / Re: Order of toolbox pages
« on: January 14, 2014, 05:45:09 am »

Not quite -- #5 refers to the toolbox items, not the toolbox pages. But it turns out the notes below the table provide the answer I sought. Thanks for the reference!



Pages: [1] 2 3