Project

Profile

Help

meta-inf instead of META-INF in 8.2 B

Added by Anonymous over 19 years ago

Legacy ID: #2938749 Legacy Poster: Martin Rügamer (mnruegam)

In saxon8.jar of version 8.2 B the two files javax.xml.transform.TransformerFactory and javax.xml.transform.XPathFactory are packed into a zip-path 'meta-inf/services' instead of 'META-INF/services'. This prevents them from being found by the generic newInstance(). Best Regards Martin


Replies (2)

RE: meta-inf instead of META-INF in 8.2 B - Added by Anonymous over 19 years ago

Legacy ID: #2939191 Legacy Poster: Michael Kay (mhkay)

Thanks for the info. What platform are you running on? At present I do all my testing on Windows, so problems that are platform specific can slip through. Michael Kay Saxonica Limited

RE: meta-inf instead of META-INF in 8.2 B - Added by Anonymous over 19 years ago

Legacy ID: #2939636 Legacy Poster: Martin Rügamer (mnruegam)

Good morning (UTC) I'm using winxp pro / SUN JDK 1.4.2_05 / eclipse 3.0.1. I think the problem is not really platform specific but "classloader specific". It depends on how the findResource method is implemented. In my case the SUN standard URLClassLoader searches for a resource like 'jar:file:/C:/foo/bar.jar!/meta-inf/service/...' and in this case the zip/jar package is case sensitive. In tomcat maybe it works because of a completely different webapp-classloader (untested suggestion). Best regards Martin

    (1-2/2)

    Please register to reply