Talk About Network

Google





Software > Biz Talk NonXML > Re: Positional ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 897 of 978
Post > Topic >>

Re: Positional Hierarchical Flat file parsing...

by "Pabba" <kiran.pabba@[EMAIL PROTECTED] > Jan 10, 2007 at 07:51 AM

Jan,

After analyzing your solution understood that you used the empty lines
as group level record delimiters. I didn't want to use any
pre-processing code to modify my inboud flat-file so based on your
logic to use Infix I created a new schema to just use <CR><LF> as
record level delimiter and was able to accomplish the expected though I
got some schema validation errors in VS.NET but no issues at run time.

Thanks again,
Kiran Pabba

Pabba wrote:
> Thanks Jan, it works fine with the instance without spaces across
> groups but I have a difference in my actual instance which is:
>
> Instead of empty lines(without spaces) between G1 and G2(i.e all
> groups) I have empty lines with spaces and due to this when I validate
> the schema with my instance I get error similar to:
>
> "Unexpected data found while looking for:
> '     '
> '               '
> '          '
> The current definition being parsed is Childs. The stream offset where
> the error occured is 1872. The line number where the error occured is
> 27. The column where the error occured is 0."
>
> To test you can use the same instance published before and just modify
> line number 26(empty line) with spaces.
>
> Appreciate your help.
>
> Thanks again,
> Kiran
>
> Jan Eliasen wrote:
> > On 4 Jan 2007 12:25:29 -0800, "Pabba" <kiran.pabba@[EMAIL PROTECTED]
> wrote:
> >
> > >I have a flat-file similar to the one listed below and my problem is
to
> > >create a hierarchical Xml structure out of it.
> >
> > >I was able to build a schema (thanks to Jan) which looks like:
> > You're welcome. And I suppose I'd better keep the help coming :-)
> > Sorry I haven't answered your question in the original thread - been
> > busy the last couple of days :-/
> >
> > Try the schema located in
> > http://www.eliasen.dk/biztalk/flatfilespacesidentifier2.zip
- modify
> > it to suit your naming conventions, as I am not sure I have followed
> > them quite thourougly (spelling?).
> >
> > --
> > eliasen, representing himself and not the company he works for.
> >
> > Private blog: http://blog.eliasen.dk
> > 
> > Private email: jan@[EMAIL PROTECTED]

 




 4 Posts in Topic:
Positional Hierarchical Flat file parsing...
"Pabba" <kir  2007-01-04 12:25:29 
Re: Positional Hierarchical Flat file parsing...
Jan Eliasen <eliasen@[  2007-01-05 21:25:00 
Re: Positional Hierarchical Flat file parsing...
"Pabba" <kir  2007-01-08 07:31:57 
Re: Positional Hierarchical Flat file parsing...
"Pabba" <kir  2007-01-10 07:51:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 1:52:02 PST 2009.