cancel
Showing results for 
Search instead for 
Did you mean: 

Suppressing DTD reference during XML parsing - Error during mapping

former_member216353
Participant
0 Kudos

Dear all,

In one of the scenario, the source system is uploading a XML message on a queue.

This XML message has a statement which says, that it is referring to "Test.dtd".

We have imported this DTD under the External definitions, and used it in the mappings.

While testing the interface, we are getting a error in SXMB_MONI in the mapping step saying-

"Failed to load resource from the context class loader".

I think that this is because during mapping the parser is trying to refer to the DTD mentioned in msg, which is actually not there.

Do we have any way to suppress this statement.

Kindly drop in your comments to resolve the issue.

Thanks in advance,

Younus

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member216353
Participant
0 Kudos

Hi All,

Before calling the actuall mapping, In Inteface mapping a small Java mapping was invoked, to suppress the DTD reference in the incoming message.

Thanks for your inputs.

Regards,

Younus

prateek
Active Contributor
0 Kudos

SAP Note 812966 would be of your interest.

Regards,

Prateek

prateek
Active Contributor
0 Kudos

If the references dtd is not present, then why does this statement exist in your dtd? Its better to have a clear structure defined in IR if you are thinking of moving it further to QA or Prod landscape.

Regards,

Prateek

Shabarish_Nair
Active Contributor
0 Kudos

you cannot do that in mapping. You will have to edit the ED / DTD itself and remove the statement