You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Carlo Agopian <ca...@digitalinsight.com> on 2002/05/06 23:16:29 UTC

Schema validation time >25 secs

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                  
carlo.agopian@digitalinsight.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: Schema validation time >25 secs

Posted by Khaled Noaman <kn...@ca.ibm.com>.
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
> carlo.agopian@digitalinsight.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org