You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Michael Dyck <jm...@ibiblio.org> on 2009/07/11 22:25:01 UTC

identifying parser/validator obtained via JAXP

Hi folks, Xerces neophyte here.

I'll start with what I hope is an easy question. If I'm getting a 
parser/validator via JAXP, how can I find out:
(a) whether it's Xerces, and
(b) which version number?

-Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


Re: identifying parser/validator obtained via JAXP

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Hi Michael,

Michael Dyck <jm...@ibiblio.org> wrote on 07/11/2009 04:25:01 PM:

> Hi folks, Xerces neophyte here.
>
> I'll start with what I hope is an easy question. If I'm getting a
> parser/validator via JAXP, how can I find out:
> (a) whether it's Xerces, and

The implementation classes will be in a org.apache.xerces.* packages. If
you got com.sun.org.apache.xerces.internal.* or something else then it
isn't Apache Xerces.

> (b) which version number?

org.apache.xerces.impl.Version [1] gives you the version number.

> -Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
> For additional commands, e-mail: j-users-help@xerces.apache.org

Thanks.

[1] http://xerces.apache.org/xerces2-j/faq-general.html#faq-1

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com>
E-mail: mrglavas@apache.org