This message was originally submitted by Abhay.Ravle_at_SIMPLE2.CO.UK to the
JAXB-INTEREST list at JAVA.SUN.COM. If you simply forward it back to the list,
using a mail command that generates "Resent-" fields (ask your local user
support or consult the documentation of your mail program if in doubt), it will
be distributed and the explanations you are now reading will be removed
automatically. If on the other hand you edit the contributions you receive into
a digest, you will have to remove this paragraph manually. Finally, you should
be able to contact the author of this message by using the normal "reply"
function of your mail program.
----------------- Message requiring your approval (19 lines) ------------------
Hi there,
I had downloaded JAXB 1.0 beta implementation yesterday. I tried to create classes from one of the XSDs that I have. I received an error which indicated that the binary representation (or definition) of XSDHandler class (in xercesImpl.jar ) is not correct.
Following is what I ran from the command line
D:\jaxb\jaxb-1.0-beta\bin\xjc.bat SA_BENEFIT_OUTBOUND.XSD
and following is the part of the error I received
Exception in thread "main" java.lang.VerifyError:
(class: org/apache/xerces/impl/xs/traversers/XSDHandler,
method: getSchema signature: (Ljava/lang/String;Lorg/apache/xerces/xni/parser/XMLInputSource;ZSLorg/w3c/dom/Element;)Lorg/w3c/dom/Document;)
Incompatible object argument for function call
I suppose I would need to replace xercesImpl.jar. In case my supposition is correct I would be grateful if someone could tell me, which version of xercesImpl.jar should I replace it with and where I can get it from.
Any advice is welcome.
The environment in which I am working constitutes of Win 2000 OS and JDK 1.3.1.
Many thanks in advance,
Abhay