BizTalk Server General - positional parsing problem with multiple level of record

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > April 2005 > positional parsing problem with multiple level of record





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author positional parsing problem with multiple level of record
Jerome

2005-04-25, 5:51 pm

Hello!

I want to parse this schema:

<Root> (delimiter 0x0D 0x0A postfix; parser optimi=complexity;
lookahead_d=0)
<Header> (positional with Tag identifier and offset)
<Field1>
<Field2>
</Header>
<Node1> (positional with Tag identifier and offset)
<Field3>
<Field4>
</Node1>
<Node2> (positional WITHOUT Tag identifier and offset)
<Node3> (positional with Tag identifier and offset)
<Field5>
<Field6>
</Node3>
<Node4> (positional with Tag identifier and offset)
<Field8>
<Field9>
</Node4>
</Node2>

Header, Node 1 and Node 3 are well parsed but not Node 4 !!
If u have any ideas...

Thanks
Jerome

Stephen W. Thomas

2005-04-26, 5:53 pm

Hello.

Are any of the fields optional or many to one?

I have seen all kinds of unpredictable results with optional fields, early
termination, etc. Also, make sure you are testing through a true Receive
Pipeline rather then inside Visual Studios. This will yield different
results.

If you wanted to send me your schema and sample file I can take a look at
it. Just send to swthomas@NOSPAMbiztalkgurus.com just remove the nospam part.

Stephen W. Thomas
http://www.geekswithblogs.net/sthomas


"Jerome" wrote:

> Hello!
>
> I want to parse this schema:
>
> <Root> (delimiter 0x0D 0x0A postfix; parser optimi=complexity;
> lookahead_d=0)
> <Header> (positional with Tag identifier and offset)
> <Field1>
> <Field2>
> </Header>
> <Node1> (positional with Tag identifier and offset)
> <Field3>
> <Field4>
> </Node1>
> <Node2> (positional WITHOUT Tag identifier and offset)
> <Node3> (positional with Tag identifier and offset)
> <Field5>
> <Field6>
> </Node3>
> <Node4> (positional with Tag identifier and offset)
> <Field8>
> <Field9>
> </Node4>
> </Node2>
>
> Header, Node 1 and Node 3 are well parsed but not Node 4 !!
> If u have any ideas...
>
> Thanks
> Jerome
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com