Hi, all.

It's been long ago, but could not answer earlier.

Thank you for being so descriptive, you solved my problem. There is only one
thing I'd like to see: Perhaps this could be added to the documentation
somehow? I saw the version question as part of the Xerces C++ FAQs, but for
Xerces-j there is nothing.

Hiran


-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 17. September 2002 14:55
An: [EMAIL PROTECTED]
Betreff: Re: What version of xerces is used?


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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to