Hi, I want to create a SubstitutionGroupHandler for a set of loaded grammars. I have a XSGrammarBucket loaded with grammars but giving it in the constructor of SubstitutionGroupHandler is not enough to initialize it, it remains empty. The only way I found to fill in all the substitution groups is to make the "final XSElementDecl[] getSubstitutionGroups" function in SchemaGrammar into "public final XSElementDecl[] getSubstitutionGroups" and for each grammar in my bucket, call fSubGroupHandler.addSubstitutionGroup(sgram.getSubstitutionGroups());
Is it meant to be inaccessible ? Is there another way to access this info once a grammar is loaded ? Thanks. -- # Stef Epardaud, # Teachers have potentially more power than military, # Java Defeater # the former can teach us how to not need the latter. # Earth # Lunatech Research, # Solar System # soon we'll quit researching and start finding... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
