Hi Scott,

Scott Cantor <[email protected]> writes:

> At least with imports, I suppose that in the absence of circular references,
> one could strip the import statements of their paths and preload in the
> order needed to resolve the imports, but that won't help with includes.

This would only be necessary if schemas used absolute paths/URL to
include/import other schemas. In my experience, most sane schemas 
use relative paths to include/import files inside the vocabulary 
and would only use absolute URLs to import external vocabularies.

In such cases, as you suggest, loading external schemas explicitly 
first and then loading the dependant schemas works fairly well.

Boris

-- 
Boris Kolpackov, Code Synthesis        http://codesynthesis.com/~boris/blog
Open-source XML data binding for C++   http://codesynthesis.com/products/xsd
XML data binding for embedded systems  http://codesynthesis.com/products/xsde
Command line interface to C++ compiler http://codesynthesis.com/projects/cli

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to