| Author |
JAXB not recognizing ContentHandler
|
Pradeep bhatt
Ranch Hand
Joined: Feb 27, 2002
Posts: 8876
|
|
I am facing the same issue but for ContentHandler. JAXB is ignoring my ContentHandler.
This did not help.
Any idea ?
|
Groovy
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
|
This was originally attached to an old post which was superficially the same question. Pradeep, could you now provide some details of your problem (instead of relying on the details of somebody else's problem)?
|
 |
Pradeep bhatt
Ranch Hand
Joined: Feb 27, 2002
Posts: 8876
|
|
Well I checked the source code of JAXB. The unmarshaller class has it's own contenthandler and overrides the one passed by me always. So the conclusion is that we cannot pass our custom content handler and also error handler. Sorry bartender for the trouble caused.
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
|
No problem... and thanks for posting what you found. That might be useful for somebody else with the same problem.
|
 |
 |
|
|
subject: JAXB not recognizing ContentHandler
|
|
|