[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] [Summary] Eager and Just-in-Time loading of XML Schema documents, compiled documents, enhancing performance, streaming
- From: Mukul Gandhi <gandhi.mukul@gmail.com>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Sat, 7 Aug 2010 21:00:03 +0530
I just wonder how could consideration of eager or late loading of XML
schema documents can significantly affect performance of an entire
validation episode.
I think, however large the XML document is, the corresponding schema
documents are relatively smaller. For example, if an XML element has
maxOccurs="unbounded" specification in an XML schema document, then
there could potentially be uncountable instances of such elements in
corresponding XML documents, which can practically lead to very large
XML document sizes.
So I think, how could just in time loading of schema documents can
improve the overall performance of validation episode. I don't think
that, eager loading of XML schema documents of any (or most of)
practical XML application retards performance of the whole schema
validation episode (since loading of schema documents, and creating
grammar objects of most practical XML schema's is a pretty fast and
memory optimizing operation).
On Sat, Aug 7, 2010 at 7:16 PM, Costello, Roger L. <costello@mitre.org> wrote:
> EXPLOITING JUST-IN-TIME LOADING TO ENHANCE PERFORMANCE
>
> Consider this scenario:
>
> 1. Your XML document is very large.
>
> 2. The XML Schemas that will be used to validate the XML document are independent (or, the XML Schemas can be partitioned into independent sets).
--
Regards,
Mukul Gandhi
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]