Bugs item #1027302, was opened at 2004-09-13 15:34
Message generated for change (Comment added) made by anorbert
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: Amila Norbert (anorbert)
Date: 2004-09-22 09:27

Message:
Logged In: YES 
user_id=687254

Submit the simplest testcase possible that demonstrates the 
problem

----------------------------------------------------------------------

Comment By: Amila Norbert (anorbert)
Date: 2004-09-22 09:27

Message:
Logged In: YES 
user_id=687254

The exercesImpl.jar in jboss-3.2.5 is 989kb.
but the xerces I got from jdom-b8 is 1770kb.  I did exaclty 
what you have done, took this xerces and renamed it to be 
xercesImpl.jar and my problem disappeared.  I haven't tested 
the latest version yet.  I downloaded jboss-4.0.0RC2 and it 
still conatains the exercesImpl.jar (size 989kb).  However I 
was using jboss-3.2.5 and it is not updated according to the 
available downloads at http://www.jboss.org/downloads/index.

----------------------------------------------------------------------

Comment By: Elias Ross (genman)
Date: 2004-09-21 20: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 08: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

Reply via email to