You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2017-04-07 22:08:38

claysrg
Member
2 posts

claysrg said:

XML Parsing error - '&' in the entity reference

I'm parsing a large XML file about 26.6 MB and I get this error it appears when it gets to the tFileInputXML:
"Error on line 1 of document  : The entity name must immediately follow the '&' in the entity reference. Nested exception: The entity name must immediately follow the '&' in the entity reference."
Most postings I have read says it is because there is a "&" in the file. I checked and there is none. I created a smaller file from this one and it parses just fine.
Any ideas or suggestions? Is it size related?
Using Talend Open Studio for Data Integration version 6.2.1

Offline

#2 2017-04-07 22:23:35

claysrg
Member
2 posts

claysrg said:

Re: XML Parsing error - '&' in the entity reference

I miss spoke there is a '&' in the file example:
<vpn>JUSTICE LEAGUE:GODS \& MONSTERS</vpn>
So I take it \& is not proper way to escape in XML even though I'm being told this is production data.

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy