Hi James,

Thanks for pointing this out; that's clearly a bug and I'm fixing it as I
write.  GrammarPoolString should be:

      http://apache.org/xml/properties/internal/grammar-pool

but you would have had to dive rather deeply into the source to deduce
that.

Hope that helps,
Neil
Neil Graham
XML Parser Development
IBM Toronto Lab
Phone:  905-413-3519, T/L 969-3519
E-mail:  [EMAIL PROTECTED]




|---------+---------------------------->
|         |           "James Kavanagh" |
|         |           <jkavanagh@adeptr|
|         |           a.com>           |
|         |                            |
|         |           09/06/2002 06:37 |
|         |           AM               |
|         |                            |
|---------+---------------------------->
  
>---------------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                                         |
  |       To:       Neil Graham/Toronto/IBM@IBMCA, <[EMAIL PROTECTED]>       
                                                         |
  |       cc:                                                                          
                                                         |
  |       Subject:  RE: Grammar caching                                                
                                                         |
  |                                                                                    
                                                         |
  |                                                                                    
                                                         |
  
>---------------------------------------------------------------------------------------------------------------------------------------------|



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