BizTalk Server General - Flat File Disassember - body segments and Tags

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > February 2005 > Flat File Disassember - body segments and Tags





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 Flat File Disassember - body segments and Tags
Mark

2005-02-25, 5:49 pm

Hi,
I have a simple application that has a Flat File Header, Body and Trailer.
The idea is that flat-file disassembler just pulls out the body parts. The
header and trailer parts have Tags, the body part does not.
This works as expected when:
1. there is a header and multiple body parts - but NO Trailer.
2. The Header, Body and Trailer Parts have Tags.

However if the Body parts have no Tags then the parser intreprets the
trailer as a body part :-(

On the Schema I've added some extra attributes e.g. parsing=complexity and
Lookahead depth=0 [means infinite? not 0] but it makes no difference.

I presume the problem is that LookAhead depth does not apply over the
Disassember?

Can this problem be resolved by configuration?

thanks
m

Ruslan Yakushev [MSFT]

2005-02-25, 8:46 pm

No, this cannot be resolved using configuration. The probing algorithm
basically checks the first level only, and is quite forgiving overall.
This prevents us from having to read a significant portion of the document
into memory to make the determination.

As a general rule, if the document has a trailer, they both document and
trailer should be easily determined at the top level.

--------------------
>Thread-Topic: Flat File Disassember - body segments and Tags
>thread-index: AcUbZ+ORifmGJ5K8RVikBAlflGEmHw==
>X-WBNR-Posting-Host: 194.200.154.253
>From: "=?Utf-8?B?TWFyaw==?=" <Mark@discussions.microsoft.com>
>Subject: Flat File Disassember - body segments and Tags
>Date: Fri, 25 Feb 2005 10:29:06 -0800
>Lines: 22
>Message-ID: <A84CEA30-AC6C-452E-B2B0-AA2AD99CAFAB@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: TK2MSFTNGXA02.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.biztalk.general:24978
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>Hi,
>I have a simple application that has a Flat File Header, Body and Trailer.
>The idea is that flat-file disassembler just pulls out the body parts.

The
>header and trailer parts have Tags, the body part does not.
>This works as expected when:
>1. there is a header and multiple body parts - but NO Trailer.
>2. The Header, Body and Trailer Parts have Tags.
>
>However if the Body parts have no Tags then the parser intreprets the
>trailer as a body part :-(
>
>On the Schema I've added some extra attributes e.g. parsing=complexity and
>Lookahead depth=0 [means infinite? not 0] but it makes no difference.
>
>I presume the problem is that LookAhead depth does not apply over the
>Disassember?
>
>Can this problem be resolved by configuration?
>
>thanks
>m
>
>


This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com