Suppose you have a simple xml as below
and the corresponding xsd for it is as follow and you want to validate it
Just Right Click on the XML file in Jdeveloper you will get Validate XML option in the menu.
Click on Validate XML and you will get the results.
Please note the targetnamespace should be their and same for both xsd and xml and also xsd location should be mentioned in xml file.Like in my case i kept the xsd and xml in same project and xsd was under folder name xsd so in xml file it is reflected as
xsi:schemaLocation="http://xmlns.oracle.com/TestSOA_jws/Test2/BPELProcess1 xsd/BPELProcess1.xsd"
No comments:
Post a Comment