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: AttrDef Name
Topic Summary:
Created On: 23-Jul-2008 15:51
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.
Answer This question was answered by Heng Jean-Philippe, on Wednesday, July 23, 2008 4:16 PM

Answer:
Paul,

A very big thanks. that's it!!!!!

JP
 23-Jul-2008 15:51
User is offline View Users Profile Print this message


Heng Jean-Philippe

Posts: 15
Joined: 21-Jul-2008

Hi Everybody,

I'm working with DXL since 3 days. I'm doing a program that exports attributes definition of a module into a XML file. But i'm going crazy because i'm not able to write attribut definition name.

Someone can help me please? The program stops at the line :
file << "\t\t\t<name>" ad.name "</name>\n"
With the error message:
-E- DXL: <Line:36> incorrect arguments for (.)
-E- DXL: <Line:36> incorrectly concatenated tokens
-I- DXL: all done with 2 errors and 0 warnings

Thans for all!
Report this to a Moderator Report this to a Moderator
 23-Jul-2008 16:04
User is offline View Users Profile Print this message


Paul Howstan

Posts: 47
Joined: 27-Sep-2006

Hi,

Try casting ad.name as a string (i.e. replace ad.string with "(string ad.name)" ) I am not aware of any other return type for ad.name, but for some reason, it needs to be cast to work. This may not be the solution to your problem, but its the first thing I would try.

Hope it helps,

Paul
Report this to a Moderator Report this to a Moderator
 23-Jul-2008 16:12
User is offline View Users Profile Print this message


Paul Howstan

Posts: 47
Joined: 27-Sep-2006

On closer inspection, I think that the problem may be that you have declared a string variable called name further up in your code. This creates an ambiguous identifer so DXL can not work out if you mean ad.(string name) or ad.(fn name)

Hope this helps,

Paul
Report this to a Moderator Report this to a Moderator
 23-Jul-2008 16:16
User is offline View Users Profile Print this message


Heng Jean-Philippe

Posts: 15
Joined: 21-Jul-2008

Answer Answer
Paul,

A very big thanks. that's it!!!!!

JP
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.