Project

Profile

Help

Support #4878

closed

While validating a xml from multiple xsd (importing one another), sub part of xml gets validated successfully without regards of parent XSD

Added by Juhi Gupta over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2021-01-15
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

We have schemas defined by multiple xsd files, for example : xsd1: soapenvelope.xsd and xsd2: mainBody.xsd. where soapenvelope.xsd contains the main element (soap envelope) and then imports the xsd2 for inner elements.

We always need to validate against the main element, but when we only receive inner element it passes the validation also.

Is it possible to specify the element with which the payload should be validated against?

Please register to edit this issue

Also available in: Atom PDF