Subject:Validation too slow!!!! Author:Minollo I. Date:13 Feb 2008 08:53 AM
The Apache Xerces C++ validation engine used by default by Stylus Studio requires to materialize the whole document in memory (creating a DOM) to run XML Schema validation; that will slow down things dramatically on large documents.
The other validation engines available in Stylus *may be* faster. If you can rely on a streaming based validation engine, you can configure it in Stylus as a custom validation engine.
Subject:Validation too slow!!!! Author:Minollo I. Date:14 Feb 2008 03:06 PM
The only project I'm aware of close to be a streaming XML Schema validation engine is Woodstox (http://woodstox.codehaus.org/); their 4.0 pre-release should expose streaming XML Schema validation.
Assuming you can invoke Woodstox through a command line (or assuming you write a wrapper to invoke it through a command line), you can configure it in Stylus Studio as a custom validation engine: http://www.stylusstudio.com/docs/v2008/d_adv2.html#wp254767