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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to