DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21106>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21106

IllegalArgumentException in Extension.getSpecificationVersion()

           Summary: IllegalArgumentException in
                    Extension.getSpecificationVersion()
           Product: Avalon
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Excalibur
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When I include dom.jar and sax.jar in my Phoenix application I get 
IllegalArgumentException during startup. This is because the Extension class 
tries to convert the Specification-Version in the manifest to a DeweyDecimal. 

Why not leave it a String?

dom.jar and sax.jar originate from the Xerces project.

Part of the stackttrace:
java.lang.IllegalArgumentException: Bad specification version format 'DOM 
Level 2' in 'org.w3c.dom'. (Reason: java.lang.NumberFormatException: For input 
string: "DOM Level 2")
at org.apache.avalon.excalibur.extension.Extension.<init>(Extension.java:402)
at org.apache.avalon.excalibur.extension.Extension.getExtension
(Extension.java:743)
at org.apache.avalon.excalibur.extension.Extension.getAvailable
(Extension.java:199)
at org.apache.avalon.excalibur.extension.Extension.getAvailable
(Extension.java:236)

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

Reply via email to