in reply to Re^8: UMMF perl script execution..
in thread UMMF perl script execution..

You can test with any sample xmi file. I installed everything that was told by all wrt to UMMF. I also insatlled patch in my system. After doing all the above when i tried to run it with a sample xmi file i got the mentioned error..You can just create any class diagram and test the code.. If i have given any wrong parameters please tell me.

Replies are listed 'Best First'.
Re^10: UMMF perl script execution..
by Corion (Patriarch) on Aug 04, 2011 at 08:14 UTC

    I don't know anything about UMMF. I don't havew any XMI example file. I don't have any UML drawing program. I guess that most people here are the same.

    If you don't tell us exactly what you did and make it easy for us to replicate your problem, you will have to work on your problem yourself. Asking repeatedly for answers without providing enough information, or waiting that we ask for more information instead of doing your work and providing enough information already, will not improve your chance of getting help.


      please find the details below

      am using perl 5.14. this is the xmi file am using to generate the code with ummf.



      <?xml version = '1.0' encoding = 'UTF-8' ?> <XMI xmi.version = '1.2' xmlns:UML = 'org.omg.xmi.namespace.UML' times +tamp = 'Thu Aug 04 12:45:15 IST 2011'> <XMI.header> <XMI.documentation> <XMI.exporter>ArgoUML (using Netbeans XMI Writer version 1.0)</X +MI.exporter> <XMI.exporterVersion>0.32.1(6) revised on $Date: 2010-01-11 22:2 +0:14 +0100 (Mon, 11 Jan 2010) $ </XMI.exporterVersion> </XMI.documentation> <XMI.metamodel xmi.name="UML" xmi.version="1.4"/></XMI.header> <XMI.content> <UML:Model xmi.id = '10-87-12-50-680a54a9:13193a3d805:-8000:000000 +0000000A81' name = 'untitledModel' isSpecification = 'false' isRoot = 'false +' isLeaf = 'false' isAbstract = 'false'> <UML:Namespace.ownedElement> <UML:Class xmi.id = '10-87-12-50-680a54a9:13193a3d805:-8000:00 +00000000000A82' name = 'class A' visibility = 'public' isSpecification = 'fa +lse' isRoot = 'false' isLeaf = 'false' isAbstract = 'false' isActive = 'false'> <UML:Classifier.feature> <UML:Attribute xmi.id = '10-87-12-50-680a54a9:13193a3d805: +-8000:0000000000000A83' name = 'attributeA' visibility = 'public' isSpecificatio +n = 'false' ownerScope = 'instance' changeability = 'changeable' targetScope = 'instance'> <UML:StructuralFeature.multiplicity> <UML:Multiplicity xmi.id = '10-87-12-50-680a54a9:13193 +a3d805:-8000:0000000000000A84'> <UML:Multiplicity.range> <UML:MultiplicityRange xmi.id = '10-87-12-50-680a5 +4a9:13193a3d805:-8000:0000000000000A85' lower = '1' upper = '1'/> </UML:Multiplicity.range> </UML:Multiplicity> </UML:StructuralFeature.multiplicity> <UML:StructuralFeature.type> <UML:DataType href = 'http://argouml.org/profiles/uml1 +4/default-uml14.xmi#-84-17--56-5-43645a83:11466542d86:-8000:000000000 +000087C'/> </UML:StructuralFeature.type> </UML:Attribute> <UML:Operation xmi.id = '10-87-12-50-680a54a9:13193a3d805: +-8000:0000000000000A86' name = 'methodA' visibility = 'public' isSpecification = + 'false' ownerScope = 'instance' isQuery = 'false' concurrency = 'sequential' isRoot = 'f +alse' isLeaf = 'false' isAbstract = 'false'> <UML:BehavioralFeature.parameter> <UML:Parameter xmi.id = '10-87-12-50-680a54a9:13193a3d +805:-8000:0000000000000A87' name = 'return' isSpecification = 'false' kind = 're +turn'/> </UML:BehavioralFeature.parameter> </UML:Operation> </UML:Classifier.feature> </UML:Class> <UML:Class xmi.id = '10-87-12-50-680a54a9:13193a3d805:-8000:00 +00000000000A88' name = 'classB' visibility = 'public' isSpecification = 'fal +se' isRoot = 'false' isLeaf = 'false' isAbstract = 'false' isActive = 'false'> <UML:Classifier.feature> <UML:Attribute xmi.id = '10-87-12-50-680a54a9:13193a3d805: +-8000:0000000000000A89' name = 'attributeB' visibility = 'public' isSpecificatio +n = 'false' ownerScope = 'instance' changeability = 'changeable' targetScope = 'instance'> <UML:StructuralFeature.multiplicity> <UML:Multiplicity xmi.id = '10-87-12-50-680a54a9:13193 +a3d805:-8000:0000000000000A8A'> <UML:Multiplicity.range> <UML:MultiplicityRange xmi.id = '10-87-12-50-680a5 +4a9:13193a3d805:-8000:0000000000000A8B' lower = '1' upper = '1'/> </UML:Multiplicity.range> </UML:Multiplicity> </UML:StructuralFeature.multiplicity> <UML:StructuralFeature.type> <UML:DataType href = 'http://argouml.org/profiles/uml1 +4/default-uml14.xmi#-84-17--56-5-43645a83:11466542d86:-8000:000000000 +000087C'/> </UML:StructuralFeature.type> </UML:Attribute> <UML:Operation xmi.id = '10-87-12-50-680a54a9:13193a3d805: +-8000:0000000000000A8C' name = 'methodB' visibility = 'public' isSpecification = + 'false' ownerScope = 'instance' isQuery = 'false' concurrency = 'sequential' isRoot = 'f +alse' isLeaf = 'false' isAbstract = 'false'> <UML:BehavioralFeature.parameter> <UML:Parameter xmi.id = '10-87-12-50-680a54a9:13193a3d +805:-8000:0000000000000A8D' name = 'return' isSpecification = 'false' kind = 're +turn'/> </UML:BehavioralFeature.parameter> </UML:Operation> </UML:Classifier.feature> </UML:Class> </UML:Namespace.ownedElement> </UML:Model> </XMI.content> </XMI>

      please help