RE: [mdr-users] RE: Problems with diff file
"Pete Rivett" <[email protected]> Thu, 13 Jul 2006 03:39:33 -0700
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <674FC3679265A241ACB4BF58BA0EB3BE2BB1AD@DHOST001-50.DEX001.intermedia.net> |
Sorry the link I sent to the UML 2.1 XSD file was wrong: it should be: http://www.omg.org/cgi-bin/doc?ptc/06-04-05=20 Pete > -----Original Message----- > From: Pete Rivett=20 > Sent: Sunday, May 28, 2006 7:21 PM > To: [email protected]; [email protected] > Subject: RE: [mdr-users] RE: Problems with diff file >=20 > Here is a link to the official UML 2.1 XMI files (it turns=20 > out the UML 2.0 metamodel had some internal structural=20 > problems that means that valid XMI could not be generated=20 > when the package merge rules were applied!):=20 > http://www.omg.org/cgi-bin/doc?ptc/06-04-07 >=20 > The Zip file has many files within it: to make sense of them=20 > you need to understand that: >=20 > a) UML2 has several levels of compliance:=20 > L0 corresponds to structure of EMOF (subset of MOF 1.4 - has=20 > no Associations) > LM corresponds to structure of CMOF (superset of MOF 1.4 -=20 > has association generalization, redefinition) > L1 to L3 correspond to different levels of UML Superstructure >=20 > b) UML2 makes use of a technique called Package Merge (a bit=20 > like inheritance but at the package level). For convenience=20 > the metamodel is also provided in merged form though this is=20 > not the normative version (by which I mean that in the=20 > unlikely case of discrepancy the unmerged version is the official one) >=20 > c) The version of XMI corresponding to MOF 2.0 is XMI 2.1=20 > (XMI 2.0 is for MOF 1.4 only) >=20 > For more explanation of any of the above see the following specs: > UML 2.1 Superstructure http://www.omg.org/cgi-bin/doc?ptc/06-04-02 > UML 2.1 Infrastructure http://www.omg.org/cgi-bin/doc?ptc/06-04-03 > MOF 2.0 Core http://www.omg.org/cgi-bin/doc?formal/06-01-01 > XMI 2.1 http://www.omg.org/cgi-bin/doc?formal/05-09-01 (this=20 > does have some examples of diffs) >=20 >=20 > There is also a UML 2.1 XSD file (for L3 only):=20 > http://www.omg.org/cgi-bin/doc?ptc/06-05-07 > As with all versions of XMI, the XSD (or DTD) is not very=20 > tight in terms of what it validates. Do not make the mistake=20 > of thinking that a document that is validated by the XSD is=20 > valid XMI! (However if it cannot be validated by the XSD you=20 > can be confident that it is not valid XMI). >=20 > There are revisions of MOF (MOF 2.2) and XMI (XMI 2.2) due to=20 > complete in the next few months. MOF 2.1 will be built on UML=20 > 2.1 as you might expect. >=20 > I am co-chair of the Revision Task Forces of all the above so=20 > if you have any questions or issues please let me know. >=20 > Regards, Pete >=20 > Pete Rivett (mailto:[email protected])=20 > CTO, Adaptive Inc.=20 > Hello House, 135 Somerford Road, Christchurch, BH23 3PY, UK=20 > Tel: +44 (0)1202 491243 Fax: +44 (0)1202 491241=20 > http://www.adaptive.com=20 >=20 >=20 >=20 >=20 > > -----Original Message----- > > From: ludger goeke [mailto:[email protected]]=20 > > Sent: Tuesday, May 23, 2006 10:07 AM > > To: [email protected]; [email protected] > > Subject: [mdr-users] RE: Problems with diff file > >=20 > > Hello Elena, > >=20 > > the exception could thrown because the nbmdr doese not=20 > > recognizes your=20 > > diff-File and then it can not generate Interfaces like Class=20 > > with the Operation "getClass()". But I must admit that I=20 > > don't know the concept of diff files. Is there an example on=20 > > the NetBeans website or could you tell me how it works? I=20 > > created the Parts of the UML2-model I needed by myself with=20 > > the Posidon-Tool. There I could attach the nessessary Tags to=20 > > model elements like Class. Is there in the meantime an=20 > > official XMI-File of the UML2-Metamodell existing on the OMG=20 > > Website? I didn't found it there.=20 > >=20 > > Regards > > Ludger Goeke > > --=20 > >=20 > >=20 > > Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer! > > Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer > > =20 > >=20