I believe this is a known performance issue, with a resolution targetted
for Xerces 2. The general rule in the mean time is to not use 'all' when you
plan to have more than 3(?) elements at that level.

SJG

-----Original Message-----
From: Benson Cheng [mailto:[EMAIL PROTECTED]
Sent: Friday, April 06, 2001 12:17 PM
To: [EMAIL PROTECTED]
Subject: Schema : sequence vs all (OutOfMemoryError)


I want my schema to allow the xml elements in any order, so I changed all of
the "sequence" to "all", on some of the schemas works fine, but some of them
will run for a long time and finally give me an "OutOfMemoryError" as below:

Exception in thread "main" java.lang.OutOfMemoryError
        <<no stack trace available>>

Is anybody run into this problem before?  Or what kind of rule need to be
followed in order to use "all"?

BTW, I am using xerces version 1.3.0

Thanks in advance,
Benson.

[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to