Subject:Crashes when validating Author:Minollo I. Date:01 Aug 2005 02:08 PM
It may be worth noting that Stylus Studio is inheriting this issue from Apache Xerces C++, which is the default validation exposed by Stylus.
In addition to the workaround mentioned by Ivan, you may also decide to use a different validation engine, like XercesJ, MSXML, .NET or XSV; they are all bundled and supported in Stylus Studio: just click on the down arrow to the right of the validation button and choose the one you would like to invoke.
Subject:Crashes when validating Author:Tony Lavinio Date:02 Aug 2005 11:01 AM
The problem isn't specific to a edition of Stylus Studio.
It's specific to the Apache Xerces validator, which is
the default validator for all editions of Stylus Studio.
See Minollo's posting above for alternatives.
The problem is caused because large values of maxOccurs cause the
validator to try every permutation, and it eventually runs out of
memory. When the limit is set to "unbounded", it doesn't try
every permutation of schemas during the validation process.
When you validate a document, you can use the drop-down arrow next
to the green checkmark to choose another validator. Each has its
own strengths and weaknesses, which is why we supply a variety.
Unfortunately, not every validator works exactly the same way.
XML Schema is a complex specification, and has much subtlety.