Fix for ESBJAVA-3422

Fix for the Stack over flow error, when trying to validate the xml against a schema which is having a cyclic import/include