Xerces-J eagerly loads all includes/imports (recursively) before constructing its schema component model. See XSDHandler [1]. I imagine Xerces-C++/P would have a similar design.
Thanks.
[1] http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/xs/traversers/XSDHandler.java?view=markup&pathrev=949234
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org
"Costello, Roger L." <costello@mitre.org> wrote on 07/28/2010 04:05:24 PM:
> Hi Folks,
>
> Suppose that my XML Schema imports/includes some XML Schemas and
> they import/include some XML Schemas and so on. That is, there is a
> big hierarchy of XML Schema documents.
>
> I envision two ways that XML Schema validators could be implemented:
>
> 1. On-demand: the validator brings in an XML Schema document only
> when it's needed. (On-demand/Just-in-time/Dynamic-Loading)
>
> 2. Not on-demand: when the validator brings in an XML Schema
> document it also brings in the XML Schema documents it imports/
> includes and the documents they import/include and so on. (What is
> the right term for this?)
>
> I am interested to know how these XML Schema validators operate with
> regard to being on-demand or not. Can you help to fill in this table please:
>
> On-demand Not on-demand
> SAXON (Java)
>
> SAXON (.NET)
>
> XERCES (Java)
>
> XERCES (C++)
>
> XERCES (Perl)
>
> LIBXML
>
> MSXML
>
> XSV
>
>
> /Roger
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php