Hi
I realize my remark is beyond the scope of this mailing list, but querying
an arcane class name or proprietary  name/value pair in the manifest is not
portable.

Wouldn't it be nice if there were a parser/transformer independent way to
obtain version/vendor information?

In others, JAXP should have a getVersion() method on its SAX/DocBuilder and
Transformer interfaces.

Bye



                                                                                
                                                     
                      "Jens v. Pilgrim"                                         
                                                     
                      <[EMAIL PROTECTED]        To:       [EMAIL PROTECTED]     
                                           
                      e>                       cc:                              
                                                     
                                               Subject:  Re: How to identify 
Xalan version?                                          
                      04/29/2002 12:12                                          
                                                     
                      PM                                                        
                                                     
                      Please respond to                                         
                                                     
                      "Jens v. Pilgrim"                                         
                                                     
                                                                                
                                                     
                                                                                
                                                     




Hello [EMAIL PROTECTED],

Friday, April 26, 2002, 4:08:07 PM, Sheen Brisals wrote:
SB> Please can someone tell me how to find the version of Xalan
SB> programmatically? (or even non-programmatically).

see: org.apache.xalan.processor.XSLProcessorVersion

I posted the same question some time ago and proposed to add a version
specification in the manifest file of the jar. I don't know whether
the latest version adds this line to the manifest file. FOP has a nice
ant task (manifest) which automatically generates a manifest file,
perhaps Xalan could copy this method.

Best regards,
 Jens





Reply via email to