Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
hiba1
Contributor
Contributor

invalid XML character (unicode: 0x1) while reading file

Hi,

I have JSON files. I am reading that file content and storing it in SQL table. Now my issue is the loading is stopping because of the error: 

[statistics] connecting to socket on port 3391

[statistics] connected

hotels-100.json

Error on line 822 of document : Un caractère XML non valide (Unicode : 0x1) a été détecté dans le contenu d'élément du document. Nested exception: Un caractère XML non valide (Unicode : 0x1) a été détecté dans le contenu d'élément du document.

hotels-314.json

Error on line 577 of document : Un caractère XML non valide (Unicode : 0x3) a été détecté dans le contenu d'élément du document. Nested exception: Un caractère XML non valide (Unicode : 0x3) a été détecté dans le contenu d'élément du document.

hotels-4.json

Error on line 4356 of document : Un caractère XML non valide (Unicode : 0x1e) a été détecté dans le contenu d'élément du document. Nested exception: Un caractère XML non valide (Unicode : 0x1e) a été détecté dans le contenu d'élément du document.

hotels-575.json

Error on line 59 of document : Un caractère XML non valide (Unicode : 0x1f) a été détecté dans le contenu d'élément du document. Nested exception: Un caractère XML non valide (Unicode : 0x1f) a été détecté dans le contenu d'élément du document.

hotels-636.json

Error on line 2171 of document : Un caractère XML non valide (Unicode : 0xc) a été détecté dans le contenu d'élément du document. Nested exception: Un caractère XML non valide (Unicode : 0xc) a été détecté dans le contenu d'élément du document.

My job look like this :

any help please !

Labels (3)
1 Reply
Anonymous
Not applicable

Hi

I have replied you in another post.

https://community.talend.com/s/question/0D53p00008H4cU4CAJ/an-invalid-xml-character-in-json-file

 

Regards

Shong