콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
3414 화면

'm using odoo10 to develop my module. and while working on xml file, i got this Error, and don't know where the error comes from :

XMLSyntaxError: Char 0x0 out of allowed range, line 5, column 57

Does anyone has a clue?

아바타
취소
작성자 베스트 답변

Thanks for the effort, i just deleted the Xml file i was working on and recreated and that worked perfectly.
so probably it was coding file problem.


아바타
취소
베스트 답변

Hello Jihane,
0x0 (aka NUL) is not an allowed character in XML(see here: https://www.w3.org/TR/xml/#charsets)


[2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]

Therefore your data is not XML, and any conformant XML processor must report an error such as the one you received.


You must repair the data by removing any illegal characters by treating it as text, not XML, manually or automatically before using it with any XML libraries.

아바타
취소
관련 게시물 답글 화면 활동
1
8월 23
29069
0
3월 18
3335
0
4월 17
2532
1
3월 25
1337
0
11월 24
1515