Re: BizTalk 2004 Schema - validation instance for integer field

From: Greg Forsythe (greg.forsythe_at_unisys.com)
Date: 12/08/04


Date: Thu, 9 Dec 2004 08:48:10 +1300

You will get the same problem with a date field.
The only solution I could think of was to declare the field as a string in
the flat file, then use a check for existence before converting to the
appropriate data type in a map or orchestration.

Greg

"Sents" <Sents@discussions.microsoft.com> wrote in message
news:FC414BC1-020D-4025-87EB-D6E3C1647F85@microsoft.com...
> Hi,
>
> I am having a scema with flat file extension (comma delimter) 3 fields
Name,
> Age, Address
> Eg: Senthil,,Bangalore
> I don't have value for age.
> When i validate this instance it fails and says "The Age element has an
> invalid value according to its datatype". i have given min occors =0 and
max
> occurs=1 for age field. What is the best approch to solve this problem.
>
> Regards
> Senthil



Relevant Pages

  • Re: IF statement
    ... StrSize as String ... That would work if the Age was a string field and was never null. ... AgeCate = "Don't Know" ...
    (microsoft.public.access.queries)
  • Re: n-Tier/Layer with NULL and persistence
    ... Larry if what you need to check the NULL values in he DB use ... Public MustOverride Property Persist(ByVal key As String) As Object ... the database to the screen and back? ... Public Property Age() As Integer ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Urgent question w/ boxing... please help
    ... private string address; ... Here's a sample of a Type being passed as a parameter into the map: ... public int Age ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Parsing multi-line text
    ... Chunk 01 ... Description: "Some other string" ... Age: 37 ... 03 NAME: Carol -> 32 ...
    (comp.lang.perl.misc)
  • Re: C++...and Im stumped!
    ... You should treat Person as a base class. ... Your solution only requires a name and an age. ... string get_nameconst; ...
    (comp.lang.cpp)