BTS2004 does not validate document structure
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > BTS2004 does not validate document structure




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    BTS2004 does not validate document structure  
John Leyva


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:16 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register