Ask a questionAsk a question
 

Answer835 Flat File Schema Validation

  • Wednesday, October 28, 2009 4:55 PMJackie_1986 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hey Gurus,

    am working on 835 Flat file schema,i was trying to validate the instance with my production flat file,it throws this error message
    error BEC2004: Unable to match the data in the input stream.

    After google little bit,i modified the schema properties  "Parser_Optimization" to Complexity and "lookahead_depth" to "Zero".

    i was trying the same input file to validate,it hangs.

    Any idea or any input will help me a lot.

    Thanks
    Jackie

Answers

  • Tuesday, November 03, 2009 8:23 AMAndrew_ZhuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi, Jackie

    Could the schema validate a flat file generated from the schema itself?
    Also check this blog by Eliasen
    http://blog.eliasen.dk/PermaLink,guid,1bee424b-83ae-4011-91d0-5c1b914804f3.aspx

    Regards
    This posting is provided "AS IS" with no warranties, and confers no rights. Microsoft Online Community Support

All Replies

  • Thursday, October 29, 2009 5:00 AMGyan Prakash[MSFT] Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,
        It may be that encoding of your input file is wrong. Please make it to UTF-8 and try.

    if it fails again then please see below informations about XML tools:

    http://mohsinkalam.wordpress.com/2007/11/



    Thanks
    Gyan
    If this answers your question, please mark it as "Answered".
  • Sunday, November 01, 2009 2:25 PMWesley Groleau Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,It may be that encoding of your input file is wrong. Please make it to UTF-8 and try.
    Isn't 835 defined as being ASCII ?

    ASCII is a subset of UTF-8
  • Tuesday, November 03, 2009 8:23 AMAndrew_ZhuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi, Jackie

    Could the schema validate a flat file generated from the schema itself?
    Also check this blog by Eliasen
    http://blog.eliasen.dk/PermaLink,guid,1bee424b-83ae-4011-91d0-5c1b914804f3.aspx

    Regards
    This posting is provided "AS IS" with no warranties, and confers no rights. Microsoft Online Community Support