> Yes, it should be sufficient: for instance, > - you call loadGrammar(D,true). This pushes in the grammar pool D > - you then call loadGrammar(A,true). This would normally parse the grammars > A, B, C and D. When you try to cache these grammars, you get an exception > because D is already in the pool. After the change in the code, loadGrammar > would still load A, B and C, but reuse D from the grammar pool, and the > memory pool will contain A, B, C and D (that was already there).
Excellent. I will see if this is portable to xerces-j. Cheers Alby, Gareth -- Gareth Reakes, Head of Product Development +44-1865-203192 DecisionSoft Limited http://www.decisionsoft.com XML Development and Services --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
