Hi all,

I can see the possibility for confusion here:  In Xerces 1.x, the relevant
class was org.apache.xerces.framework.Version; in Xerces 2.x it's
org.apache.xerces.impl.Version.  In 2.x, getVersion is the relevant method;
in 1.x, the fVersion String was what you'd want to look at.

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




|---------+------------------------------>
|         |           "Jose Emanuel      |
|         |           Palmeiro"          |
|         |           <[EMAIL PROTECTED]|
|         |           fct.unl.pt>        |
|         |                              |
|         |           09/17/2002 07:04 AM|
|         |           Please respond to  |
|         |           xerces-j-user      |
|         |                              |
|---------+------------------------------>
  
>-------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                        |
  |       To:       [EMAIL PROTECTED]                                           
                                             |
  |       cc:                                                                   
                                                        |
  |       Subject:  Re: What version of xerces is used?                         
                                                        |
  |                                                                             
                                                        |
  |                                                                             
                                                        |
  
>-------------------------------------------------------------------------------------------------------------------------------------|



Hi!

In Java version, you can use the class
org.apache.xerces.framework.Version. It has a main method that prints
the version. Or you can decompile the class and check for the fVersion
attribute.

best regards
Jos� Palmeiro

> Hi there.
>
> Does anyone know how to find out what version of Xerces resides in a
jar? I
> think of something like a manifest file entry, a properties file or
maybe a
> method of a class I can call.
>
> Hiran
>
> -------------------
> Hiran Chaudhuri
> SAG Systemhaus GmbH
>
> Email [EMAIL PROTECTED]
> Phone +49-171-2204990
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

--
Jos� Emanuel Gomes das Neves Palmeiro
Consultor
EB-Focus, SA
Tecnidata Grupo

telefone: 91 6610830
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