Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Validating XML against XSD when there are more than one XSD.

VickyVenuFeb 20 2014 — edited Feb 20 2014

Hi,

I need to validate a XML against a set of XSDs.

I'm aware that, when there is a single XSD to compare, it is possible to compare using xmlDoc.schemaValidate() with xmlDoc and xmlSchema .

But in my case there are more than one XSDs against which i need to compare the XML.

My main XSD has the statement as mentioned below.

<xs:import namespace="http://www.w3.org/1999/xxxx" schemaLocation="xxxx.xsd"/>

<xs:import namespace="http://www.w3.org/1999/02/yyyy" schemaLocation="yyyy.xsd"/>

I'm not sure how to handle this situation.

Please, help me out !!

Thanks

Vicky

This post has been answered by odie_63 on Feb 20 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 20 2014
Added on Feb 20 2014
1 comment
1,289 views