LOG.debug("Successfully parsed "+allGrammars.size()+" grammars.");
// Send all XSD grammars to grammarpool
Grammar grammars[] = new Grammar[allGrammars.size()];
grammars = allGrammars.toArray(grammars);
grammarpool.cacheGrammars(TYPE_XSD, grammars);
// Construct result to end user
final ValueSequence result = new ValueSequence();
for(final Grammar one : grammars){
result.add( new StringValue(one.getGrammarDescription().getNamespace()) );