Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

! Character in SWIFT

Status
Not open for further replies.

6600

Programmer
May 9, 2006
5
US
Hello All,
I receive a SWIFT message, that contains the exclamation character, !
Can a map reject this kind of message ?
 
Set it up as an 'Exclude' character in the Item in the Type Tree.
 
I wanted to know, can a map fail because of this ! character
 
It would need to be in a required element, in a required group. Do you want it to fail?



BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Boca/Janhes
Thanks for replying. What I want to know is where can I find in the type tree, that these characters are invalid and shouldnt be there in the message
 
Turn on the map's input trace. This will tell you which element is failing. Then open the tree and check the restriction list.
Also check the Swift spec.

BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Boca,

This is the message I got from the trace file:
"INPUT 1 was valid, but it contained invalid objects."

However, I am not able to trace where exactly it failed. What I did was, I removed the ! character, and the message ran successfully. I am not able to find out even from the tree and checked the restriction list, but there is no restriction. The restriction property is set VALUE and Rule is Include.
 
Just search on the word invalid, from the top of the file.
If you know where the ! was, you should know what the element is, so you can look in the tree for that element.
If the rule is include and it's not there, then it's not valid.

BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top