Neil Graham wrote :
> 
> I envisage XMLGrammarPoolImpl as being a very simple collection of a
> couple of hashtables for DTD's and schemas.  They could probably hash
> directly on the XMLGrammarDescriptions for these types of grammars.
> 

If we plan to use XMLGrammarDescription as the key, don't you think 
we have to change the signature of XMLGrammarPool's
cacheGrammar(String grammarType, Grammar[] grammars) method 
to 
cacheGrammar(XMLGrammarDescription[] descriptions, Grammar[] grammars)

Moreover, we need not pass the grammarType 'cause the application can
get it from the getGrammarType() method. 

Also, do we need 2 separate hashtables for DTDs and Schemas when we 
hash on the XMLGrammarDescriptions. Or am I missing something ?

What do you think ?

 
> Have I missed anything?  Do folks think this will work?  Even more
> important, since I won't be around all that much this month--I've got
> some vacation time coming up and some other commitments--anyone want
> to help?
> 


Yes, I would like to help.


> Any suggestions on how the work might be broken down?
> 

I can see XMLGrammarConfiguration, XMLDTDValidator, XMLGrammarPool and, 
may be, XMLSchemaValidator are the classes which will need major work. 
I'm ready to help you in implementing/modifying these classes.


-Pavani

-- 

Pavani Mukthipudi
Sun Microsystems, Inc.

Phone: 080 - 2298989   Extn: 87390


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to