Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAXB not recognizing ContentHandler

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing the same issue but for ContentHandler. JAXB is ignoring my ContentHandler.

This did not help.


Any idea ?
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem... and thanks for posting what you found. That might be useful for somebody else with the same problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic