2021년 11월 5일 금요일

Invalid white space character (0xb) in text to output (in xml 1.1, could output as a character entity)

오류내용

Fatal error while processing inbound message. com.sap.aii.af.lib.mp.module.ModuleException: java.lang.RuntimeException: com.ctc.wstx.exc.WstxIOException: Invalid white space character(0xb) in text to output (in xml 1.1, could output as a character entity)


현상

소스가 REST Sender Adapter에서 발생되었던 에러이며 JSON -> XML 변환과정에서 유니코드 문자로 인한 오류인것 같습니다.
0xb: Vertical tabulation


해결방법

REST Sender Adapter의 옵션들중 'Convert to XML 1.1 document'를 체크 후에 해결이 되었지만 해당 옵션은 XML 1.0을 1.1로 버젼이 변경되는것 같고 관련 내용은 아래링크를 통해서 좀더 확인해보시는것도 좋을것 같습니다.
Difference between PO/PI/XI XML version 0.1 and 1.1


참조:
Rest: Invalid white space character (0x1a) Error

댓글 없음:

댓글 쓰기

최근글

9월 태안~천안 아이와 3박4일 가족 여행지