Hi, Elena, thank you very much. I changed the larger numbers to "unbounded", then the validating went smoothly. What a gotcha!
Thanks,
Xuemin Guan
At 08:06 01/10/02 -0400, you wrote:
> Hi, there, I am validating some XML document against their schemas. > Xerces works fine for most cases. But it into trouble when validate XML > against some "big-sized" schema--the schema size is 200k or so.
It would be helpfull to see your schema.. I suspect that you use very large numbers for maxOccurs. Xerces-J will try to expand the particle tree recursively causing the StackOverflowError.This is the Xerces-J limitation.
If it is possible use maxOccurs="unbounded" instead of specifying maxOccurs="8000"...
Elena.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-------
Xuemin Guan
Software Engineer
Appresso SpA (www.appresso.com)
Tel: +81-3-4412-7790(Direct)
+81-3-4412-7700(Represent)
Email: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
