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 "Schmid, David" <sc...@cajvc.com> on 2001/07/24 21:57:02 UTC

Access to GrammarResolver?

 I would like to :
a) enumerate the namespaces defined by the Schema for the parsed document
b) obtain the SchemaGrammar appropriate for each namespace so I could look
at it ala EnumVal.

I don't seem to be able do this through any API --
SchemaValidator::getGrammar gives me access to only the 'current'
SchemaGrammar. Is there another way to accomplish the above that I've
missed?

If not, could a
RefHashTableOfEnumerator<Grammar> SchemaValidator::getGrammarEnumerator()
const;
method be added?

Alternately, a 
GrammarResolver * SchemaValidator::getGrammarResolver() const
method would solve my problem as well, but that would require the
GrammarResolver class to be DLL-exported.

Thanks









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