I have a situation where I need to parse an XML response using Karate, but the reference to the DTD is not accessible. In other words is DTD required for parsing?
Is there a way around this?
I have a situation where I need to parse an XML response using Karate, but the reference to the DTD is not accessible. In other words is DTD required for parsing?
Is there a way around this?
To be honest I'm not sure. Are you facing an error if the XML has a DTD ?
Then maybe we need to make a change to Karate to skip DTD validation. I think this Stack Overflow question is relevant: Make DocumentBuilder.parse ignore DTD references
If you can raise a ticket and provide a sample XML that has a DTD, we can fix this pretty quickly.