Bugs item #1027302, was opened at 2004-09-13 08:34 Message generated for change (Comment added) made by genman You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1027302&group_id=22866
Category: JBossServer Group: v3.2 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Amila Norbert (anorbert) Assigned to: Nobody/Anonymous (nobody) Summary: JBOSS3.2.5/lib/xercesImpl.jar should be xerces.jar Initial Comment: I am running a web application that loads an XML file that is validated against a schema. This fails with the dom4j.jar file that comes with the Jboss3.2.5. The error message is: org.DocumentException: Error on line XX of document. Document is invalid: no grammer found. org.dom4j.io.SaxReader.read(SaxReadre.java 329) I thisnk this is owing to the fact that the SaxReader.class file in dom4j.jar is an old class and it is trying to validate aginst a DTD rather than the Schema. I had to copy the dom4j-full.jar into jboss3.2.5/lib/ and rename it to dom4j.jar to get my code to work. Would it be possible to ship the jboss with the correct dom4.jar file in jboss_home/lib. operating system WINDOWS 2000 JAVA VERSION 1.4.2 thanks ---------------------------------------------------------------------- >Comment By: Elias Ross (genman) Date: 2004-09-21 13:18 Message: Logged In: YES user_id=556458 JBoss ships with 2.4.2 of xerces, the latest from the web site. It is named xercesImpl.jar for compatibility reasons. What are you replacing with what? I updated dom4.jar to 1.5 release. The question is does JBoss itself need to ship with dom4j-full.jar? According to what I could find, the -full release (used to?) contain a bunch of third party files. It seems that SaxReader supports schema. Please reopen if necessary once testing against JBoss CVS or a newer release. ---------------------------------------------------------------------- Comment By: Amila Norbert (anorbert) Date: 2004-09-14 01:55 Message: Logged In: YES user_id=687254 I also had to replace the xercesImpl.jar with the xerces.jar form jdom-b8 and rename this new xerces.jar file to xercesImpl.jar for it to work properly. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1027302&group_id=22866 ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
