Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Requirements Modeling Framework  » Importing ReqIf file into ProR
Importing ReqIf file into ProR [message #896913] Fri, 20 July 2012 12:21 Go to next message
Bill Fetech is currently offline Bill FetechFriend
Messages: 5
Registered: July 2012
Junior Member
I have used IBM's DOORS product to create a schema which I exported into an ReqIf schema. I have installed ProR - Requirements Management Platform and I have been able to start the program. Unfortunately, when I attempt to follow the tutorial for using ReqIf, I cannot see how to import an existing ReqIF XML file into a working project. I see how to "import" and the file is imported, but it is just imported as "text".

Can anyone provide assistance? All I am attempting to do is make a simple change to the file, export it back into ReqIF format, and then reimport back into IBM's DOORS to validate only the changes I made are there.

Bill Fetech
Re: Importing ReqIf file into ProR [message #896921 is a reply to message #896913] Fri, 20 July 2012 12:47 Go to previous messageGo to next message
Michael Jastram is currently offline Michael JastramFriend
Messages: 161
Registered: April 2010
Location: Düsseldorf, Germany
Senior Member
Hi Bill,

You do not need to import a ReqIF file - you can simply open it. Either copy it into your workspace, or simply navigate to it by using File > Open.

Note that the file must end in .reqif.

Hope this helps!

- Michael
Re: Importing ReqIf file into ProR [message #896977 is a reply to message #896921] Fri, 20 July 2012 16:09 Go to previous messageGo to next message
Bill Fetech is currently offline Bill FetechFriend
Messages: 5
Registered: July 2012
Junior Member
Michael: I have performed the steps you provided and the "file" is seen as a ProP file. After the import, I attempt to open the file using the ReqIf editor and get this error:

Could not open the editor: org.eclipse.emf.ecore.xml.type.impl.XMLTypeDocumentRootImpl cannot be cast to org.eclipse.rmf.reqif10.ReqIF

Is there something else I need to install?

Bill Fetech
Re: Importing ReqIf file into ProR [message #896981 is a reply to message #896977] Fri, 20 July 2012 16:17 Go to previous messageGo to next message
Michael Jastram is currently offline Michael JastramFriend
Messages: 161
Registered: April 2010
Location: Düsseldorf, Germany
Senior Member
Hi Bill,

This error message indicates that something is wrong with the XML - there is nothing else you need to install.

Can you attach the file here? If it's proprietary, you can email it to me, or just post the first dozen lines.

Best,

- Michael
Re: Importing ReqIf file into ProR [message #896983 is a reply to message #896981] Fri, 20 July 2012 16:23 Go to previous messageGo to next message
Bill Fetech is currently offline Bill FetechFriend
Messages: 5
Registered: July 2012
Junior Member
How do I "attach" a file?

Bill
Re: Importing ReqIf file into ProR [message #896984 is a reply to message #896983] Fri, 20 July 2012 16:27 Go to previous messageGo to next message
Michael Jastram is currently offline Michael JastramFriend
Messages: 161
Registered: April 2010
Location: Düsseldorf, Germany
Senior Member
Weird... I see the "File Attachments" section (if you reply, not quick reply), but it is set to "Maximum Files Per Message: 0".

So either just paste the xml, or send it via email to michael@jastram.de.

Cheers,

- Michael
Re: Importing ReqIf file into ProR [message #897004 is a reply to message #896981] Fri, 20 July 2012 18:28 Go to previous messageGo to next message
KeithB is currently offline KeithBFriend
Messages: 4
Registered: July 2009
Junior Member
On 07/20/2012 12:17 PM, Michael Jastram wrote:
> Hi Bill,
>
> This error message indicates that something is wrong with the XML -
> there is nothing else you need to install.
>
> Can you attach the file here? If it's proprietary, you can email it to
> me, or just post the first dozen lines.
>
> Best,
>
> - Michael

Hi,

I've run into the same problem. I manually adjusted the
xml header that comes from DOORS from this:

<REQ-IF xmlns="http://www.omg.org/spec/ReqIF/20110401/reqif"
xmlns:doors="http://www.ibm.com/rdm/doors/REQIF/xmlns/1.0"
xmlns:reqif-xhtml="http://www.omg.org/spec/ReqIF/20110401/reqif-xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance"
xsi:schemaLocation="http://www.omg.org/spec/ReqIF/20110401/reqif.xsd
reqif.xsd http://www.omg.org/spec/ReqIF/20110401/reqif-xhtml
reqif-xhtml.xsd">^M

to this:

<?xml version="1.0" encoding="UTF-8" ?>
<REQ-IF xmlns="http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
xmlns:doors="http://www.ibm.com/rdm/doors/REQIF/xmlns/1.0"
xmlns:reqif-xhtml="http://www.omg.org/spec/ReqIF/20110401/reqif-xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSch
ema-instance"
xsi:schemaLocation="http://www.omg.org/spec/ReqIF/20110401/reqif.xsd
http://www.omg.org/spec/ReqIF/20110401/reqif-xhtml">^M

which gets further into the load. However, other problems still
persist. I've needed to essentially clean out any of the tool extension
and spec group attributes. I can send you the output if
you'd like.

thanks,
Keith
Re: Importing ReqIf file into ProR [message #897015 is a reply to message #897004] Fri, 20 July 2012 18:54 Go to previous messageGo to next message
Bill Fetech is currently offline Bill FetechFriend
Messages: 5
Registered: July 2012
Junior Member
Keith: Thanks - that worked. I will let IBM know about that issue.

Biill
Re: Importing ReqIf file into ProR [message #897127 is a reply to message #897015] Sun, 22 July 2012 07:42 Go to previous messageGo to next message
Michael Jastram is currently offline Michael JastramFriend
Messages: 161
Registered: April 2010
Location: Düsseldorf, Germany
Senior Member
Hi Bill,

Glad that Keith could solve your problem!

> I will let IBM know about that issue.

Just curious: How is this IBM's problem? Considering that DOORS does not yet write ReqIF (am I mistaken?), I would assume that name space issue stems from the transformation scripts? I don't have DOORS available right now, so I cannot check this myself.

Best,

- Michael
Re: Importing ReqIf file into ProR [message #897148 is a reply to message #897127] Sun, 22 July 2012 14:52 Go to previous message
Bill Fetech is currently offline Bill FetechFriend
Messages: 5
Registered: July 2012
Junior Member
DOORS 9.4, just released,does now support ReqIf. All previous DOORS versions just support RIF.

Bill
Previous Topic:Custom Properties Tab for a specific Attribute Definition
Next Topic:Can I have some dog food please?
Goto Forum:
  


Current Time: Thu Nov 27 04:47:58 GMT 2014

Powered by FUDForum. Page generated in 0.02908 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software