XML generate configured operation adapter script initailise

I had a problem in using XML adapter. I am able to generate xml using simple dtd sturcture. But when dtd stucture parses a child dtd structure which inturn parses another dtd sturcture I am getting serialization error in adapter script initialization when it is calling the dtd.build method. Even though I did mentioned the max recurisive level, I am getting that problem.

I would appreciate if somebody come up to help me with a solution to resolve this.

Regards,
Sreeni