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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Facing some typicall problem with initiator's.

Status
Not open for further replies.

smerck

Programmer
Jan 16, 2006
16
0
0
IN
Hi All,

I am facing some typicall problem with initiator's.

I have following input. The type tree is developed accordingly.

<first>1</first>
<second>2</second>
<third>3</third>

Here 1,2,3 are the values and <first></first>,<second></second>,<third></third> are the initiator and terminator.
Assuming that all are mandatory my map runs sucessfully if above mention is the input. But it fails and says that
"One or more Input was Invalid" if any one of the elements are missing. For ex


<second>2</second>
<third>3</third>

or

<first>1</first>
<third>3</third>

or

<first>1</first>
<second>2</second>



I also tried with Restart attribute but was not successfull.
Can any one has a solution.
 
Make the fields optional in your file i.e. in file set range of field to min occurs 10 max occurs 1
 
Ignore above.
Make the fields optional in your file i.e. in file set range of field to min occurs 0 max occurs 1
 
Hi Smerk,

Chapter 12 of the design studio tutorial has instructions for mapping optional inputs. The tutorial should be located in <root install>/docs/design_studio_tutorial/.

jesse
 
Hi,
I am facing this probelm when having the initiator.If initiators are removed then i dont have the problem.(Initiators are required).

Thanks
 
Make a group containing Initiator,data,terminator, and make the group optional.

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