I have an XSD with one root and 10 elements using which I create a new doc type which is the input to a flow service. I can validate the input (in debug mode) using pub.schema.validate just fine.
If I update the XSD to include one additional element - now I have 11 elements under a root (all elements are string), re-create my doc type and its usage in the same flow service as above, the call to pub.schema.validate hangs for a few seconds, makes the IS server restart (designer says I lost connection…and then connection restored).
I also tested starting with 3 elements in my XSD and added one element at a time all the way upto 11. In each iteration I noticed that the call to validate took more time than the previous iteration (with 10 elements the validate call takes about 5-7 seconds to return).
Can someone help with resolving this issue?? Thanks.
Steps in my flow service are –
document to XML string
XMLString to XMLNode
pub.schema.validate
Again, I can get this to work without any issues as long as my XSD has 10 or fewer elements.