Carlo, Just wanna to check if you are using Xerces-C++ 1.6 or 1.7? Xerces-C++ 1.7 has some performance enhancement in schema processing. So you better try this version.
Besides large value of minOccurs or maxOccurs may be another performance blocker. See http://xml.apache.org/xerces-c/schema.html for limitations. Tinny ----- Original Message ----- From: "Carlo Agopian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 07, 2002 11:16 AM Subject: RE: Schema validation time >25 secs > No, I don't have full schema validation turned on: > > parser->setValidationSchemaFullChecking(FALSE); > > Do you think that >25 seconds is unusually long? > > > Carlo > [EMAIL PROTECTED] > > > > > > -----Original Message----- > From: Khaled Noaman [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 07, 2002 7:24 AM > To: [EMAIL PROTECTED] > Subject: Re: Schema validation time >25 secs > > > Hi Carlo, > > If you are enabling the full schema checking option, you can speed up > validation by disabling that option. With full schema checking enabled, the > parser will perform UPA and Particle derivation consitency checking which is > process and memory intensive. > > Khaled > > Carlo Agopian wrote: > > > All, > > > > I've been experiencing schema validation time using the DOMParser and > > SAXParser class greater than 25 seconds. Is it expected to take that > long? > > The XML instance document size is just ~500 bytes, but the combined size > of > > the schemas is ~400 kbytes. When I turn off validation, parsing occurs > > almost instantaneously. Is there a way to speed up schema validation? > > > > Thanks, > > > > Carlo > > [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] > > --------------------------------------------------------------------- > 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]