>> I seem to recall finding no reliable way to prevent it from following >> imports in dependent schemas in the past without registering my own >> resolver and playing some games, so my strategy has been to register >> the namespace -> entity mappings in various ways, rather than >> registering and loading schemas directly like your sample does. > > fgXercesLoadSchema won't prevent loading imported/included schemas that > are referenced from schemas that you explicitly load with the > loadGrammar() calls. Only schemas that are specified in the XML > documents.
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. Oh well. Thanks for the clarification, -- Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
