Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Requirement Numbering
Topic Summary:
Created On: 22-Aug-2005 15:45
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 22-Aug-2005 15:45
User is offline View Users Profile Print this message


Steven Leschuk

Posts: 1
Joined: 22-Aug-2005

I'm fairly new to DOORS - so this may be an easily answered question.

I'm transfering a requirements document, created in Microsoft Word, into Doors.  I plan to manage the document in Doors - but to export the document into Word for external review.  Here's the problem:

The requirements currently include identifiers in the following form:

The item shall [ABC00100] weigh less than 2 lbs.  

Stylistically, I like to see the requirements numbering as shown above.  However, I can't figure out an easy way to link the "ID" attribute to this number in a manner that would export correctly.  

I appreciate any suggestions 

-Steve


 
Report this to a Moderator Report this to a Moderator
 22-Aug-2005 16:07
User is offline View Users Profile Print this message


Jobina Johnson

Posts: 55
Joined: 12-Sep-2002

Steven

Here is a code that will take the "ID" attribute and populate the Object text with it. Remember the ID attribute includes the prefix and the absolute number.

If you only want the absolute number replace the identifier (o) in the code.

Hope this helps

-------------------------


jobina.l.johnson@boeing.com
Report this to a Moderator Report this to a Moderator
 22-Aug-2005 22:51
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Jobina's code will insert the Object Identifier of the object after the first "shall" in the object text. It will also erase all text formatting such as bold, superscrips, and erase all OLE diagrams.

The Object Identifier is composed of the module-level attribute value "prefix" (under user control) and the absolute number of the object (assigned by the system). If your Prefix is "SysSpec_" then the identifier of the first object created will be "SysSpec_1". If you change the prefix all the identifiers will change. So you cannot change the identifier to match numbers extracted from the text.

Someone who understands Regular Expressions will volunteer to show you how to extract your expressions (ABC00100) out of the text and to assign it to a string attribute you create, lets call it "ReqID". That's probably the best you can do.

- Louie
Report this to a Moderator Report this to a Moderator
 7-Sep-2005 21:23
User is offline View Users Profile Print this message


Jim Ward

Posts: 4
Joined: 1-Apr-2003

I'm importing Word documents from a supplier with tagged text like this: [ABC0123]Requirement text.[end]

The DXL has:
regexp tracetag = regexp "\\[([a-zA-Z0-9_ ]+)\\] *"
regexp endtag = regexp "\\[end\\]$"

The double backslash allows the square bracket to be seen as is, rather than as part of a list. The list [a-zA-Z0-9_ ]+ covers any character string between the brackets, including the "[end]", so I have to look for that case separately.

When I find a tag, I populate the "Supplier Ref" attribute with the tag and delete it from the text.

I plan to trace requirements internally with the DOORS IDs and to the Supplier with the Supplier Ref tags.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.