Hi Neil,

had a look at this FAQ and I'm a little confused by the 
section headed:

"All right, I've (somehow) got a grammar pool full of grammars.
How do I use this with my application that uses standard 
(SAX|DOM|JAXP) parsers?"

It has a piece of sample/pseudo code that reads:

        XMLParserConfiguration config = new
      StandardParserConfiguration();
      config.setProperty(GrammarPoolString, myFullGrammarPool);
      (SAX|DOM)Parser parser = new (SAX|DOM)Parser(config);

What does 'GrammarPoolString' correspond to? Is there a specific URI to
use that's not documented?


Regards,

James Kavanagh
Developer

Adeptra Inc.

mailto:[EMAIL PROTECTED]

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: 04 September 2002 17:44
> To: [EMAIL PROTECTED]
> Subject: Re: Grammar caching
> 
> 
> Hi Yuri,
> 
> Have a look at http://xml.apache.org/xerces2-j/faq-grammars.html.
> 
> Cheers,
> Neil
> Neil Graham
> XML Parser Development
> IBM Toronto Lab
> Phone:  905-413-3519, T/L 969-3519
> E-mail:  [EMAIL PROTECTED]
> 
> 
> 
> 
> |---------+---------------------------->
> |         |           Yuri de Wit      |
> |         |           <yuri.dewit@metas|
> |         |           erver.com>       |
> |         |                            |
> |         |           09/04/2002 12:39 |
> |         |           PM               |
> |         |           Please respond to|
> |         |           xerces-j-dev     |
> |         |                            |
> |---------+---------------------------->
>   
> >-------------------------------------------------------------
> --------------------------------------------------------------
> ------------------|
>   |                                                           
>                                                               
>                     |
>   |       To:       "'[EMAIL PROTECTED]'" 
> <[EMAIL PROTECTED]>                                 
>                               |
>   |       cc:                                                 
>                                                               
>                     |
>   |       Subject:  Grammar caching                           
>                                                               
>                     |
>   |                                                           
>                                                               
>                     |
>   |                                                           
>                                                               
>                     |
>   
> >-------------------------------------------------------------
> --------------------------------------------------------------
> ------------------|
> 
> 
> 
> What is the recommended way of preparsing and caching XML 
> Schema grammars in Xerces in order to speed parsing of XML 
> instances? Could somebody point me to documentation 
> explaining how to do that?
> 
> I was trying to get that information from the list but could 
> not find a clear answer.
> 
> Thanks,
> 
> Yuri
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to