David,
 
I just had a look at the sources, and by what I can tell, it should not be too hard to come up with an extension of the existing mechanism that allowed you to use a SAX2 based ContentHandler instead of a DocumentHandler. Can you please open a new issue at http://jira.codehaus.org/browse/CASTOR, and we'll take it from there ? #
 
Thanks
Werner


From: David [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 15, 2006 7:47 PM
To: [email protected]
Subject: [castor-user] Deprecate EventProducer definition

Dear Members,
 
I want to use the method: org.exolab.castor.xml.Unmarshaller. unmarshal(EventProducer eventProducer)
 
but on the EventProducer interface depends on org.xml.sax.DocumentHandler, which is deprecated.
 
Do you have any idea about any alternative way to avoid this. I suspect we have to use org.xml.sax.ContentHandler, but I don't see any way to use it with Castor API.
 
Thanks in advance,
 
David Leal


Relax. Yahoo! Mail virus scanning helps detect nasty viruses!

Reply via email to