Pran, ideally it should reject with possible message like below.
[ISC.0082.XXXX] Dimension mismatch, Single item expected
A document is not an array, in any case it shouldn’t allow more than one document to be appearing in the input!
sample files constructed for testing are as follows
- A document type is created and is validated against the following sample
<?xml version="1.0"?>
list1 - item1
list1 - item2
<list1>
<listItem> list2 - item1 </listItem>
<listItem> list2 - item2 </listItem>
</list1>
- Above document type is also tested with below sample which resulted in “isvalid” to false! along with the error described above!
<?xml version="1.0"?>
list1 - item1
list1 - item2
list2 - item1
list2 - item2
list1 - item1
list1 - item2
list2 - item1
list2 - item2
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods