Bug 477919 - Do not change the prefix of namespaces
Summary: Do not change the prefix of namespaces
Status: NEW
Alias: None
Product: MDT.RMF
Classification: Modeling
Component: Reqif-1.0 (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mark Broerkens CLA
QA Contact: Mark Broerkens CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-21 05:08 EDT by Arne Noyer CLA
Modified: 2015-09-21 05:08 EDT (History)
0 users

See Also:


Attachments
ReqIF File before and after saving it with ProR/RMF (6.42 KB, application/zip)
2015-09-21 05:08 EDT, Arne Noyer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arne Noyer CLA 2015-09-21 05:08:50 EDT
Created attachment 256706 [details]
ReqIF File before and after saving it with ProR/RMF

After opening a ReqIF file with ProR and saving it, xml namespace prefixes may be altered. 

This behavior was observed when a ReqIF file from IBM DOORS was opened and saved. The change of the namespace prefix caused that DOORS was unable to import the ReqIF file again correctly - DOORS was unable to identify which ReqIF Configuration/Definition was used for export before. Which ReqIF Confiiguration/Definition was used, is saved by DOORS inside a <TOOL-EXTENSION> segment, for which the namespace prefix DOORS is used (the complete example files are attached):

<REQ-IF-TOOL-EXTENSION>
	....
	<doors:DOORS-RIF-DEFINITION>
		<doors:IDENTIFIER>_a51e5f1d-f828-4207-820f-cbbe71ffa855</doors:IDENTIFIER>
		<doors:MODULE-DEFINITION>
			<doors:DDC-MODE>NO_DDC</doors:DDC-MODE>
			<SPECIFICATION-REF>_c73b196c-5836-49c1-9d99-57a6433ba446</SPECIFICATION-REF>
		</doors:MODULE-DEFINITION>
	</doors:DOORS-RIF-DEFINITION>
	....
</REQ-IF-TOOL-EXTENSION>


After opening with ProR:

<REQ-IF-TOOL-EXTENSION>
	....
	<xmlns_1.0:DOORS-RIF-DEFINITION>
		 <xmlns_1.0:IDENTIFIER>_a51e5f1d-f828-4207-820f-cbbe71ffa855</xmlns_1.0:IDENTIFIER>
		 <xmlns_1.0:MODULE-DEFINITION>
			 <xmlns_1.0:DDC-MODE>NO_DDC</xmlns_1.0:DDC-MODE>
			 <SPECIFICATION-REF>_c73b196c-5836-49c1-9d99-57a6433ba446</SPECIFICATION-REF> </xmlns_1.0:MODULE-DEFINITION>
	 </xmlns_1.0:DOORS-RIF-DEFINITION>
	....
</REQ-IF-TOOL-EXTENSION>

(The namespace mapping is correct after saving the ReqIF file, but DOORS does need the original prefix "doors" for the namespace in order to correctly import the ReqIF file)