into the schema, and think that you are probably right about the problem
occurred, there are a few big numbers, e.g. 9999, for the "maxOccurs". When I get
a time, I will modify them to "unbounded", and see what happens. For your
information, I attached a XML schema with this mail.
Thanks a lot!
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]
schema_idoc_cremas01.xml
Description: application/xml
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]
