Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Validation of XML file

Former Member
0 Kudos

Hello experts,

is there some way to validate xml file which i get from application server (presentation)? I have found only possibility by means of DTD in XML file. But my received file is without DTD and for external DTD file on this forum is not answer which says that it is possible.

Thanks for your answer.

Jorgen  

5 REPLIES 5

Former Member
0 Kudos

what kind of validity you're looking for?

shall it be a well structured XML?

shall it be of a specific structure?

or shall it be of a specific XML type?

0 Kudos

i need valid XML file - well formed which also conforms specific strucure (rules of DTD)

0 Kudos

you maybe want to create an XML scheme for this purpose and then take a look at the report

RPCXMLK0_VALIDATE

hope this helps

sadly I have not used the report as we use .csv data for transfer

0 Kudos

I give it a try with simple XML and its XSD file - result was OK but class method validate_xml_file which validates XML file is not allowed  run in background mode - i need this possibility.

0 Kudos

You can use ABAP report RPCXMLK0_VALIDATE to validate the XML against XSD