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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
pawe84
Creator
Creator

modify xlm input file doctype before import

Hi everyone,

 

my issue is when I try to import an xml file I'll get an error.

I already know that the file has doctype informationen which are not common in xml standard but it's generated

from another system and those files are saved as *.xml

 

Is there a way to modify or remove the doctype tag each time when I get or copy that file?

Because when I remove doctype then I'll be able to import/work with that file.

 

Thanks for any hints.

 

 

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

If you are using the tFileInputXML please check in the advanced settings the option "Ignore DTD file".

This could help.

 

Best regards

Jan

View solution in original post

4 Replies
Anonymous
Not applicable

Could you please post an example of your file and the exception you get while importing it.

pawe84
Creator
Creator
Author

It's nested exeption and it's saying:

.../bmecat_new_catalog_1_2.dtd (system can't find this file)

 

because in the xml file is this line

<!DOCTYPE BMECAT SYSTEM "bmecat_new_catalog_1_2.dtd">

Anonymous
Not applicable

If you are using the tFileInputXML please check in the advanced settings the option "Ignore DTD file".

This could help.

 

Best regards

Jan

Anonymous
Not applicable

If my suggestion helps please mark the issue as solved and perhaps mark it a Kudo.

Otherwise we trying to find another solution.