Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
asafrian1700127126
Contributor II
Contributor II

Invalid character constant in XPath query Talend

Hi, I want to retrieve columns from the following xml

asafrian1700127126_0-1711420097811.png

The following is the column structure and xml

asafrian1700127126_3-1711420591221.png

xml structure.jpg

asafrian1700127126_4-1711421052586.png

 

I get an error like below

asafrian1700127126_1-1711420270116.png

asafrian1700127126_2-1711420333590.png

Am I wrong in the xpath?
or is there a difference in the xpath if the column is a string or an integer?

Labels (3)
2 Replies
Shicong_Hong
Support
Support

Hello 

The xpath looks good, it seems like the file contains invalid characters. Can you upload an example file for testing? Please remove the sensitive data from the file before you share it. 

Regards

Shicong

jeoste
Creator
Creator

Hello
Typically a special character that needs to be escaped in java