Hello again, I have included the XPathExpressionException (present in xml-apis-1.3.02.jar) and now I get a different exception:
D:\temp\jaxme\0.5.2\src\test\jaxb\build.xml:129: D:\temp\jaxme\0.5.2\src\test\ja xb\bindings\bindings.xsd: XPathFactory#newInstance() failed to create an XPathFa ctory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationExc eption: No XPathFctory implementation found for the object model: http://java.su n.com/jaxp/xpath/dom It seems like we need an XPath implementation (like Xalan) to not depend on Java 5. Can anybody confirm my thougths? Jose Luis. ---------- Forwarded message ---------- From: Jose Luis Huertas Fernández <[EMAIL PROTECTED]> Date: 10-sep-2007 23:29 Subject: Tests don't pass in 0.5.x branch with JDK 1.4 To: jaxme-dev@ws.apache.org Hello, I'm having problems trying to pass the tests included in 0.5.x branch (even with the 0.5.2 release) with JDK 1.4. I think the relevant exception is this: ant test ... --- Nested Exception --- java.lang.NoClassDefFoundError: javax/xml/xpath/XPathExpressionException at org.apache.ws.jaxme.generator.sg.impl.JAXBSGFactory$2.getSchemaTransf ormer(JAXBSGFactory.java:294) at org.apache.ws.jaxme.xs.impl.XSLogicalParser.runContentHandler(XSLogic alParser.java:297) at org.apache.ws.jaxme.xs.impl.XSLogicalParser.parse( XSLogicalParser.jav a:724) at org.apache.ws.jaxme.xs.XSParser.parse(XSParser.java:178) at org.apache.ws.jaxme.generator.sg.impl.JAXBSchemaReader.parse(JAXBSche maReader.java:134) at org.apache.ws.jaxme.generator.impl.GeneratorImpl.generate (GeneratorIm pl.java:147) at org.apache.ws.jaxme.generator.impl.GeneratorImpl.generate (GeneratorIm pl.java :180) at org.apache.ws.jaxme.generator.XJCTask.execute(XJCTask.java:1067) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java :275) at org.apache.tools.ant.Task.perform(Task.java :364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets (Single CheckExecutor.java:37) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.taskdefs.Ant.execute (Ant.java:382) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java :275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java :341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java :1216) at org.apache.tools.ant.Project.executeTarget(Project.java :1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets (DefaultExe cutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.Main.runBuild (Main.java:668) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java :67) With Java 5 I don't have these problems because that class is already bundled, but 0.5.x is supposed to work with 1.4, isn't it? Do we need additional dependencies when using JDK 1.4? In the file jaxme.properties.sample I have seen a property "jaxb.home" with this comment, but I don't know if it has something to do with this error: ..."The # JWSDP is available from http://java.sun.com/webservices and is # required to build the distribution." Is this old or is really needed to compile? Should I create a JIRA issue? Best regards, Jose Luis.