Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tFileInputXML, parsing error

Hi everybody,
I'm trying to use the tFileInputXml component to import data into a database but i've got an error :
XMLTest.xml:2:7: cvc-elt.1: Cannot find the declaration of element 'root'.

Here is my xml file :
<?xml version="1.0" encoding="ISO-8859-15"?>
<root>
<person>
<lastname>Dupond</lastname>
<firstname>Bernard</firstname>
</person>
<person>
<lastname>Mae</lastname>
<firstname>Jean-Pierre</firstname>
</person>
<person>
<lastname>Guelzeck</lastname>
<firstname>Sirius</firstname>
</person>
</root>

Have you any idea what the problem could be ?
Labels (3)
4 Replies
Anonymous
Not applicable
Author

please give us a screenshot of your tFileInputXml configuration
Anonymous
Not applicable
Author

Sorry, i was trying to attach the image but the size wasn't good....
Anonymous
Not applicable
Author

did you use the repository manager?
I did it with exactly the same file and it works well.
Please check your schema but your configuration seems good.
Anonymous
Not applicable
Author

Thanks for your help.
I updated my release (i was using 2.3.0 RC3) of Talend and now everything is working fine.