05-24-05 01:48 AM
Hi
I am trying to validate a flat file document structure with a document
specification, but biztalk just generate the output xml with the valid data
before the error, and do not log any error message.
for example
i have the next valid sample
RegType1|fieldreg1_1|fieldreg1_2
RegType2|A|fieldreg2_2|fieldreg2_3
RegType3|fieldreg3_1|fieldreg3_2|fieldre
g3_3
RegType2|B|fieldreg2_2|fieldreg2_3
RegType2|C|fieldreg2_2|fieldreg2_3
the constraint is that just can be a RegType3 after RegType2
so I generate a schema like the next
RegType1
- RegType2
- RegType3 (Minoccurs 0, Maxoccurs 1)
then I probe with an invalid document with 2 RegType3 after RegType2, so i
expect and message error.
RegType1|fieldreg1_1|fieldreg1_2
RegType2|A|fieldreg2_2|fieldreg2_3
RegType3|fieldreg3_1|fieldreg3_2|fieldre
g3_3
RegType3|fieldreg3_1|fieldreg3_2|fieldre
g3_3
RegType2|B|fieldreg2_2|fieldreg2_3
RegType2|C|fieldreg2_2|fieldreg2_3
but when i validate the schema in visual studio, or I proccess through
Biztalk, it return a xml message with the records and fields before the
error, but it do not show any error in the event viewer ir in the HAT.
Please, show me what i am doing wrong, or this is the expected behavior? (I
dont think so)
Or it is a Bug.
I am using BTS2004 with SP1
--
John Leyva
[ Post a follow-up to this message ]
|