XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] Validating Bulk XML Data

> 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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS