Book a Demo

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 - Joost

Pages: [1]
1
General Board / Re: Versioning and SQL database
« on: August 07, 2006, 02:22:05 am »
aah yes, this is the functionality I was looking for, thankyou very much!

I still have a question though. If you create a baseline, is this a version that is saved seperately (in my case in the SQL database) or is the 'show differences' function based on "node" change timestamps that are saved?

2
General Board / Versioning and SQL database
« on: August 02, 2006, 07:33:15 am »
I have a question about versioning of packages when using a SQL database to store your projects.

I have the following setup:

A server with SQL database in which a EA project is stored in a database (on which I used the provided SQL script from the EA resources page).

On server Visual Source Safe Server has been installed to monitor the project file and versioning.

Clients connect to the network share of this server to use source control on the project that is stored in the SQL database.

Check out works ok, when one user checks out a package another user cannot make changes.
All users get an update after a check in etc.

However, when viewing older versions of the model you can only see a diff of the XMI file, which isn't readable at all.

What do I need to do to view a previous version in EA without doing a rollback and lose all my recent changes?

3
General Board / Re: Generating a XSD from UML, root element proble
« on: April 10, 2006, 12:05:40 am »
I have this exact problem. Have you found a solution yet?

4
General Board / XSD - min/maxOccurs gone after export
« on: April 10, 2006, 06:50:08 am »
When I define a Multiplicity (Lower and Upper bound) on (basic) XSDElements these are converted to minOccurs and maxOccurs, as expected, when exporting to a XML Schema.

However when I try to do the same for elements that actually consist of a complexType I can't seem to find an option to set these attributes (minOccurs and maxOccurs).
I have tried to do this with Cardinality but this doesn't seem to have any effect when generating an XML Schema.

Does anyone have a suggestion to realise this?


For illustration I want to show you the below XML fragment:

<xs:schema id="NewDataSet" targetNamespace="" xmlns:mstns="" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:element name="ROOT">
-<xs:complexType>
--<xs:sequence>
---<xs:element name="TREE" minOccurs="0" maxOccurs="unbounded">
----<xs:complexType>
-----<xs:sequence>
------<xs:element name="LEAF" minOccurs="0" maxOccurs="unbounded">
-------<xs:complexType>
--------<xs:sequence>
---------<xs:element name="ELEMENT1" type="xs:string" minOccurs="0" />
----------<xs:element name="ELEMENT2" type="xs:string" minOccurs="0" />
---------</xs:sequence>
--------<xs:attribute name="Name" form="unqualified" type="xs:string" />
-------</xs:complexType>
------</xs:element>
-----</xs:sequence>
-----<xs:attribute name="Name" form="unqualified" type="xs:string" />
----</xs:complexType>
---</xs:element>
--</xs:sequence>
--<xs:attribute name="Name" form="unqualified" type="xs:string" />
-</xs:complexType>
</xs:element>
</xs:schema>

For ELEMENT1 and ELEMENT2 I have defined a multiplicity in EA and I get the above minOccurs and maxOccurs, that is what I want.
I have been trying to get the same thing for ROOT, TREE and LEAF as illustrated above, but can't seem to find the option in EA to get this when exporting the diagram to an XML Schema. Defining a cardinality between ROOT and LEAF etc. didn't work, neither did adding a Tagged Value for these elements.

Now that I mention it, when importing XSD's into EA minOccurs and maxOccurs attributes are lost, always. Is this a known bug or is there an obvious solution that I am missing?
Thanks in advance for any help and suggestions

5
General Board / Re: Attributes of Schema definition
« on: April 07, 2006, 04:53:44 am »
Oh thanks, I found it!

I am now wondering about the xml encoding attribute.
By default the following line is generated:
<?xml version="1.0"?>

But I would like to have:
<?xml version="1.0" encoding="utf-16" ?>

Any idea how to add this encoding attribute?

6
General Board / Attributes of Schema definition
« on: April 07, 2006, 03:21:45 am »
Is it possible to add an attribute 'version' to the element xs:schema?

Such that the resulting XSD would look like this:

<xs:schema xmlns="mynamespace" version="1.0">

I can only find the option to add namespaces to this element, not any other attributes.

7
Good question. The 6.5 release notes say:

Enterprise Architect 6.5 integrates seamlessly into Microsoft’s popular IDE with the MDG Integration add-in for Visual Studio 2005. This latest version extends EA’s position is the premier, team-based modeling environment for the .NET developer  

Key advances include:  

• Support for create, update and link Team Explorer Work Items to model elements within both the Enterprise Architect and Visual Studio environments

But no where in the documentation I can find how to do this. Nor have I found it myself. I can use TFS for version control, but as soon as I make a checkin policy to link changes to a work item, EA gives an error about this but no option to create this link.

Any pointers on how to realise this in EA would be appreciated.

Pages: [1]