none
2006R2 EDI Send Invalid Character in FII and NAD segments RRS feed

  • Question

  • This is using the provided REMADV D96A schema (EFACT_D96A_PAYMUL.xsd)


    Below are the remaining errors I have in my EDI validation which I cannot seem to figure out immediately. 


    C:\bon\BizTalk\EDI\WTF.xml: error btm1046: Output validation error: Segment level : Segment ID - FII : Position - 16 : [21] Invalid character found
    
    C:\bon\BizTalk\EDI\WTF.xml: error btm1046: Output validation error: Segment level : Field Error : Segment ID - FII : Field Position - 3 : Current value - 1 asdf st : [21] Invalid character found
    
    C:\bon\BizTalk\EDI\WTF.xml: error btm1046: Output validation error: Segment level : Field Error : Segment ID - FII : Field Position - 4 : Current value - 1213 : [37] Invalid character(s) found in data element
    
    C:\bon\BizTalk\EDI\WTF.xml: error btm1046: Output validation error: Segment level : Segment ID - NAD : Position - 17 : [21] Invalid character found
    
    C:\bon\BizTalk\EDI\WTF.xml: error btm1046: Output validation error: Segment level : Field Error : Segment ID - NAD : Field Position - 4 : Current value - 1 asdf st : [21] Invalid character found
    
    C:\bon\BizTalk\EDI\WTF.xml: error btm1046: Output validation error: Segment level : Segment ID - NAD : Position - 18 : [21] Invalid character found
    
    C:\bon\BizTalk\EDI\WTF.xml: error btm1046: Output validation error: Segment level : Field Error : Segment ID - NAD : Field Position - 6 : Current value - SBKVille : [21] Invalid character found
    
    C:\bon\BizTalk\EDI\WTF.xml: error btm1046: Output validation error: Segment level : Field Error : Segment ID - NAD : Field Position - 7 : Current value - SBKLand : [21] Invalid character found

    The easiest one to address immediately would be:
    Field Error : Segment ID - NAD : Field Position - 6 : Current value - SBKVille : [21] Invalid character found

    This field is mapped such that it should appear once for every instance of SEQLoop1 in the schema. This corresponds in the schema to field EFACT_D96A_PAYMUL/LINLoop1/SEQLoop1/NADLoop3/NAD_4/NAD06. 

    SBKVille is of course dummy data I'm populating just to be able to verify my mapping satisfies all validations.

    In the schema the notes for this field NAD06 reads "City name_3164" and has minOccurs 0, length 1-35. It is of type EDIFACT_AN which is just xs:string. But since I'm obviously passing the schema validation this appears to mean nothing.

    How can I possibly ...

    FAST FORWARD

    I stopped writing this a while ago since something occurred to me. I thought it might be an encoding problem. And I realized the implementation guide is instructing us to use UNOA. This means you can only have UPPERCASE characters allowed. I didn't just want to throw away this thread since someone in the future might find it useful.

    Always remember, the characters allowed are defined by the UNB segment. Sorry for making you read this far.
    Monday, November 8, 2010 3:34 PM