Error BEC2004: Unexpected data found while looking for: 'nr'
Error BEC2004: Unexpected data found while looking for: '\n\r'
This maybe encountered when you Validation Instance for a flat file.
Solution:
1, Check your flat file(always an input file), there maybe BLANKS before 'return line', so make sure the file is a coreect one;
2, Modify your Schema file, you need to add one more element to fit thos BLANKS.
Comments
Anonymous
February 14, 2007
Kerry, I had the same problem in my project. My customer doesn't like to add element in schema.Is it possible to do by any other way. Thanks, Raja Kumaravel rajatpk@hotmail.comAnonymous
May 09, 2007
hi Kerrey, I'm having a doubt in Biztalk Server Schema Validation. The error that i get is BEC2004. I'm unable to validate the instance of a particular file for the schema.. My schema is a very simple XML input schema.. while the schema validates succesfully.. it fails to validate the instance of the file ... I tried searching on the net for the error "BEC2004" but not much information was available.. Kindly help me regading this.. Thanks and Regards, Ujjwal +91 9940298334Anonymous
May 10, 2007
Could you raise your question clearly: 1, is your instance a flat file? 2, What's the detail error message? If possilbe, send email to me. Kerrey