Hi Russell,

"Thamm, Russell" <[EMAIL PROTECTED]> wrote on 09/09/2008
12:27:58 AM:

> Hi Michael,
>
>
> I have changed the code so that retrieveInitialGrammarSet ALWAYS
> returns an empty array.
>
> I have modified retrieveGrammar to return null if the grammar is a
> schema and location hints are null.
>
> This does seem to resolve the problem.
>
> Presumably the code should behave in this manner only if dynamic
> validation is in force.
>
> Is this what you mean?

Not really. This might be the appropriate way to handle it in your
application but there's no requirement on the grammar pool that it behaves
that way.

> Cheers
> Russell Thamm

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

Reply via email to