They are the same thing.  With the idea of "Grammar" and the re-design of
validator, it is more appropriate to use the phrase "reuse-grammar".  The
"reuse-validator" feature is thus deprecated.  It is documented in the
programming guide:
http://xml.apache.org/xerces-c/program.html#SAX2Features.

But I agree that it is not very clear in the header API docs, I have just
fixed this.  The web site will be refreshed later.

Tinny

Juergen Hermann wrote:

> Hi!
>
> What's the story behind
>
> http://apache.org/xml/features/validation/reuse-validator
>
> and
>
> http://apache.org/xml/features/validation/reuse-grammar
>
> The second is added in 1.5.2, and the first is not documented anymore
> (in the setFeature method). Is "reuse-validator" deprecated and fully
> replaced by "reuse-grammar"? Or does the first still apply to DTD
> checking, and the second only to schemas?
>
> Ciao, J�rgen
>
> ---------------------------------------------------------------------
> 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