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 bu...@apache.org on 2002/05/10 02:24:19 UTC
DO NOT REPLY [Bug 8955] New: -
Enumerate all schema grammars
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8955
Enumerate all schema grammars
Summary: Enumerate all schema grammars
Product: Xerces-C++
Version: 1.7.0
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Validating Parser (Schema) (Xerces 1.5 or up only)
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: deburrell@hotmail.com
We need to processes the contents of all Schema Grammars for a given document.
The grammar returned by SchemaValidator::getGrammar only contains the main
grammar. If the main schema imports another schema, the imported grammar
information is not available.
Would it be possible to add a new member function to class SchemaValidators so
all grammars may be enumerated?
This is what we use but of course it requires that we have our own build of the
xerces libraries.
RefHashTableOfEnumerator<Grammar> SchemaValidator::getGrammars() const
{
return fGrammarResolver->getGrammarEnumerator();
}
Could this enhancement be include in the next release? Thanks for your efforts.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org