This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 25315

Summary: MDR fails resolve the Visibility of an UML Class on M1 level
Product: java Reporter: Jens Fransson <jens>
Component: UnsupportedAssignee: Daniel Prusa <dprusa>
Status: VERIFIED FIXED    
Severity: blocker CC: mmatula
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Jens Fransson 2002-07-02 02:07:54 UTC
The following XMI was generated using MDR.
It contains a single UML Class (from Core).
MDR (CVS version as of 30.06.2002) fails to
load it when using XmiReader. 

Debugging shows that it cannot resolve the 
Visibility attribute correctly. When omitting 
it, XmiReader succeeds.


<?xml version = '1.0' encoding = 'ISO-8859-1' ?>
<XMI xmi.version = '1.2' xmlns:UML =
'org.omg.xmi.namespace.UML' timestamp = 'Mon Jul
01 18:15:47 CEST 2002'>
  <XMI.header>
    <XMI.documentation>
      <XMI.exporter>Netbeans XMI Writer</XMI.exporter>
      <XMI.exporterVersion>1.0</XMI.exporterVersion>
    </XMI.documentation>
  </XMI.header>
  <XMI.content>
    <UML:Class xmi.id = 'a1' name = 'Class_1'
visibility = 'public' isSpecification = 'false'
      isRoot = 'false' isLeaf = 'false' isAbstract
= 'false' isActive = 'false'/>
  </XMI.content>
</XMI>

Jens Fransson
jfransson@gmx.de
Comment 1 Daniel Prusa 2002-07-02 18:39:30 UTC
Fixed in main trunk.
Comment 2 Jiri Prox 2005-07-27 08:59:34 UTC
quiet for too long, verified