[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] Validating Bulk XML Data
- From: "Michael Kay" <mike@saxonica.com>
- To: "'Ravindra Rao'" <rrao@globeop.com>,<xml-dev@lists.xml.org>
- Date: Wed, 15 Aug 2007 13:53:06 +0100
> Broadly we can have two approaches either change
> the schema a bit so that the xsd grammar sees each of the
> files as one giant xml document with many nodes or parse each
> of the 1000. The disadvantage with the first approach seems
> to be if one of the original gomls is invalid the whole
> aggregated goml gets invalidated. The second approach is
> potentially slow (we are using this and multi threading it
> and tweaking bits of it).
I can't see any intrinsic reason why validating 1000 small documents should
take longer than validating one document formed by concatenating the
content, provided the schema itself is only prepared once.
Michael Kay
http://www.saxonica.com
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]